Class: RoleBlockHaml::HamlExtension::InstanceMethods::FakeLine
- Inherits:
-
Object
- Object
- RoleBlockHaml::HamlExtension::InstanceMethods::FakeLine
- Defined in:
- lib/role_block_haml/engine.rb
Instance Method Summary collapse
-
#initialize(value) ⇒ FakeLine
constructor
A new instance of FakeLine.
- #scan(regexp) ⇒ Object
Constructor Details
#initialize(value) ⇒ FakeLine
Returns a new instance of FakeLine.
64 65 66 |
# File 'lib/role_block_haml/engine.rb', line 64 def initialize(value) @value = value end |
Instance Method Details
#scan(regexp) ⇒ Object
68 69 70 |
# File 'lib/role_block_haml/engine.rb', line 68 def scan(regexp) @value end |