--- !ruby/object:RI::MethodDescription 
aliases: []

block_params: 
comment: 
- !ruby/struct:SM::Flow::P 
  body: Adds an accessor with the given name to this generator, also automatically fills that value through the options hash that is provided when the generator is initialized.
- !ruby/struct:SM::Flow::H 
  level: 3
  text: Parameters
- !ruby/object:SM::Flow::LIST 
  contents: 
  - !ruby/struct:SM::Flow::LI 
    label: "name<Symbol>:"
    body: The name of this option, an accessor with this name will be created for the option
  - !ruby/struct:SM::Flow::LI 
    label: "options<Hash>:"
    body: Options for this option (how meta!)
  type: :NOTE
- !ruby/struct:SM::Flow::H 
  level: 4
  text: Options (opts)
- !ruby/object:SM::Flow::LIST 
  contents: 
  - !ruby/struct:SM::Flow::LI 
    label: ":default<Object>:"
    body: Specify a default value for this option
  - !ruby/struct:SM::Flow::LI 
    label: ":as<Symbol>:"
    body: If set to :boolean provides a hint to the interface using this generator.
  - !ruby/struct:SM::Flow::LI 
    label: ":desc<Symbol>:"
    body: Provide a description for this option
  type: :NOTE
full_name: Templater::Generator::option
is_singleton: true
name: option
params: (name, options={})
visibility: public
