Class: Overapp::TemplateFile::BodyMod::Single

Inherits:
Object
  • Object
show all
Includes:
FromHash
Defined in:
lib/overapp/template_file/body_mod.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#matchObject

Returns the value of attribute match.



6
7
8
# File 'lib/overapp/template_file/body_mod.rb', line 6

def match
  @match
end

#transformObject

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

Returns:

  • (Boolean)


7
8
9
# File 'lib/overapp/template_file/body_mod.rb', line 7

def match?(params)
  match[params]
end