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

block_params: 
comment: 
- !ruby/struct:SM::Flow::P 
  body: Evaluates given block in the scope of generator. Useful for modification of existing files, for instance, Merb generators may update routing file or something.
- !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 custom action
  - !ruby/struct:SM::Flow::LI 
    label: "options<Hash>:"
    body: Options for this custom action
  - !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::custom_action
is_singleton: true
name: custom_action
params: (name, *args, &block)
visibility: public
