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

block_params: 
comment: 
- !ruby/struct:SM::Flow::P 
  body: Adds a directory that is copied directly. This method is usedful when globbing is not exactly what you want, or you need to access options to decide what source or destination should be.
- !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 template
  - !ruby/struct:SM::Flow::LI 
    label: "source<String>:"
    body: The source template, can be omitted
  - !ruby/struct:SM::Flow::LI 
    label: "destination<String>:"
    body: The destination where the result will be put.
  - !ruby/struct:SM::Flow::LI 
    label: "options<Hash>:"
    body: Options for this template
  - !ruby/struct:SM::Flow::LI 
    label: "&block<Proc>:"
    body: A block to execute when the generator is instantiated
  type: :NOTE
- !ruby/struct:SM::Flow::H 
  level: 3
  text: Options
- !ruby/object:SM::Flow::LIST 
  contents: 
  - !ruby/struct:SM::Flow::LI 
    label: ":before<Symbol>:"
    body: Name of a method to execute before this template is invoked
  - !ruby/struct:SM::Flow::LI 
    label: ":after<Symbol>:"
    body: Name of a method to execute after this template is invoked
  type: :NOTE
full_name: Templater::Generator::directory
is_singleton: true
name: directory
params: (name, *args, &block)
visibility: public
