Class: RoleBlockHaml::HamlExtension::InstanceMethods::FakeLine

Inherits:
Object
  • Object
show all
Defined in:
lib/role_block_haml/engine.rb

Instance Method Summary collapse

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