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

block_params: 
comment: 
- !ruby/struct:SM::Flow::P 
  body: Search a directory for templates and files and add them to this generator. Any file whose extension matches one of those provided in the template_extensions parameter is considered a template and will be rendered with ERB, all others are considered normal files and are simply copied.
- !ruby/struct:SM::Flow::P 
  body: A hash of options can be passed which will be assigned to each file and template. All of these options are matched against the options passed to the generator.
- !ruby/struct:SM::Flow::H 
  level: 3
  text: Parameters
- !ruby/object:SM::Flow::LIST 
  contents: 
  - !ruby/struct:SM::Flow::LI 
    label: "source<String>:"
    body: The directory to search in, relative to the source_root, if omitted
  type: :NOTE
- !ruby/struct:SM::Flow::VERB 
  body: "    the source root itself is searched.\n"
- !ruby/object:SM::Flow::LIST 
  contents: 
  - !ruby/struct:SM::Flow::LI 
    label: "template_destination<Array[String]>:"
    body: A list of extensions. If a file has one of these
  type: :NOTE
- !ruby/struct:SM::Flow::VERB 
  body: "    extensions, it is considered a template and will be rendered with ERB.\n"
- !ruby/object:SM::Flow::LIST 
  contents: 
  - !ruby/struct:SM::Flow::LI 
    label: "options<Hash{Symbol=>Object}>:"
    body: A list of options.
  type: :NOTE
full_name: Templater::Generator::glob!
is_singleton: true
name: glob!
params: (dir = nil, template_extensions = %w(rb css js erb html yml Rakefile TODO LICENSE README), options={})
visibility: public
