Class: Overapp::TemplateFile::BodyMod::Single
- Includes:
- FromHash
- Defined in:
- lib/overapp/template_file/body_mod.rb
Instance Attribute Summary collapse
-
#match ⇒ Object
Returns the value of attribute match.
-
#transform ⇒ Object
Returns the value of attribute transform.
Instance Method Summary collapse
Instance Attribute Details
#match ⇒ Object
Returns the value of attribute match.
6 7 8 |
# File 'lib/overapp/template_file/body_mod.rb', line 6 def match @match end |
#transform ⇒ Object
Returns the value of attribute transform.
6 7 8 |
# File 'lib/overapp/template_file/body_mod.rb', line 6 def transform @transform end |
Instance Method Details
#match?(params) ⇒ Boolean
7 8 9 |
# File 'lib/overapp/template_file/body_mod.rb', line 7 def match?(params) match[params] end |