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

block_params: 
comment: 
- !ruby/struct:SM::Flow::P 
  body: Create a new generator. Checks the list of arguments agains the requirements set using <tt>argument</tt>.
- !ruby/struct:SM::Flow::H 
  level: 3
  text: Parameters
- !ruby/object:SM::Flow::LIST 
  contents: 
  - !ruby/struct:SM::Flow::LI 
    label: "destination_root<String>:"
    body: The destination, where the generated files will be put.
  - !ruby/struct:SM::Flow::LI 
    label: "options<Hash{Symbol => Symbol}>:"
    body: Options given to this generator.
  - !ruby/struct:SM::Flow::LI 
    label: "*arguments<String>:"
    body: The list of arguments. These must match the declared requirements.
  type: :NOTE
- !ruby/struct:SM::Flow::H 
  level: 3
  text: Raises
- !ruby/object:SM::Flow::LIST 
  contents: 
  - !ruby/struct:SM::Flow::LI 
    label: "Templater::ArgumentError:"
    body: If the arguments are invalid
  type: :NOTE
full_name: Templater::Generator::new
is_singleton: true
name: new
params: (destination_root, options = {}, *args)
visibility: public
