Class: Formatron::Generators::Instance::Formatronfile::Template
- Inherits:
-
Object
- Object
- Formatron::Generators::Instance::Formatronfile::Template
- Defined in:
- lib/formatron/generators/instance/formatronfile.rb
Overview
exports params to bootstrap ERB template
Instance Attribute Summary collapse
-
#params ⇒ Object
readonly
Returns the value of attribute params.
Instance Method Summary collapse
- #guid ⇒ Object
-
#initialize(params) ⇒ Template
constructor
A new instance of Template.
Constructor Details
#initialize(params) ⇒ Template
Returns a new instance of Template.
14 15 16 |
# File 'lib/formatron/generators/instance/formatronfile.rb', line 14 def initialize(params) @params = params end |
Instance Attribute Details
#params ⇒ Object (readonly)
Returns the value of attribute params.
12 13 14 |
# File 'lib/formatron/generators/instance/formatronfile.rb', line 12 def params @params end |