Class: YARD::CLI::YardocOptions
| Relationships & Source Files | |
| Extension / Inclusion / Inheritance Descendants | |
| Subclasses: | |
| Super Chains via Extension / Inclusion / Inheritance | |
| Class Chain: | |
| Instance Chain: | |
| Inherits: | YARD::Templates::TemplateOptions 
 | 
| Defined in: | lib/yard/cli/yardoc.rb | 
Overview
Default options used in +yard doc+ command.
Class Method Summary
::YARD::Options - Inherited
| .default_attr | Defines an attribute named  | 
Instance Attribute Summary
- #file ⇒ CodeObjects::ExtraFileObject rw
- #index ⇒ Numeric rw
- #item ⇒ CodeObjects::Base rw
- #locale ⇒ String rw
- #objects ⇒ Array<CodeObjects::Base> rw
- #readme ⇒ CodeObjects::ExtraFileObject rw
::YARD::Templates::TemplateOptions - Inherited
Instance Method Summary
- #files ⇒ Array<CodeObjects::ExtraFileObject>
- #format ⇒ Symbol
- #onefile ⇒ Boolean
- #serializer ⇒ Serializers::Base
- #title ⇒ String
- #verifier ⇒ Verifier
::YARD::Templates::TemplateOptions - Inherited
::YARD::Options - Inherited
| #==, | |
| #[] | Delegates calls with  | 
| #[]= | Delegates setter calls with  | 
| #delete | Deletes an option value for  | 
| #each | Yields over every option key and value. | 
| #inspect | Inspects the object. | 
| #merge | Creates a new options object and sets options hash or object value onto that object. | 
| #method_missing | Handles setting and accessing of unregistered keys similar to an  | 
| #reset_defaults | Resets all values to their defaults. | 
| #tap | only for 1.8.6. | 
| #to_hash, | |
| #update | Updates values from an options hash or options object on this object. | 
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class YARD::Options
Instance Attribute Details
#file ⇒ CodeObjects::ExtraFileObject (rw)
# File 'lib/yard/cli/yardoc.rb', line 48
attr_accessor :file
    #index  ⇒ Numeric  (rw)
  
# File 'lib/yard/cli/yardoc.rb', line 39
attr_accessor :index
#item ⇒ CodeObjects::Base (rw)
# File 'lib/yard/cli/yardoc.rb', line 43
attr_accessor :item
#locale ⇒ String (rw)
# File 'lib/yard/cli/yardoc.rb', line 51
attr_accessor :locale
#objects ⇒ Array<CodeObjects::Base> (rw)
# File 'lib/yard/cli/yardoc.rb', line 36
attr_accessor :objects
#readme ⇒ CodeObjects::ExtraFileObject (rw)
# File 'lib/yard/cli/yardoc.rb', line 32
attr_accessor :readme
Instance Method Details
#files ⇒ Array<CodeObjects::ExtraFileObject>
# File 'lib/yard/cli/yardoc.rb', line 11
default_attr :files, lambda { [] }
    #format  ⇒ Symbol 
  
# File 'lib/yard/cli/yardoc.rb', line 24
default_attr :format, :html
    #onefile  ⇒ Boolean 
  
# File 'lib/yard/cli/yardoc.rb', line 28
default_attr :onefile, false
#serializer ⇒ Serializers::Base
# File 'lib/yard/cli/yardoc.rb', line 21
default_attr :serializer, lambda { Serializers::FileSystemSerializer.new }