Class: Templater::ActionDescription

Inherits:
Description show all
Defined in:
lib/templater/description.rb

Instance Attribute Summary

Attributes inherited from Description

#block, #name, #options

Instance Method Summary collapse

Methods inherited from Description

#initialize

Constructor Details

This class inherits a constructor from Templater::Description

Instance Method Details

#compile(generator) ⇒ Object



15
16
17
# File 'lib/templater/description.rb', line 15

def compile(generator)
  @block.call(generator)
end