Class: Washcloth::Filters::ReplaceWithStaticValue
- Inherits:
-
Object
- Object
- Washcloth::Filters::ReplaceWithStaticValue
- Defined in:
- lib/washcloth.rb
Instance Method Summary collapse
- #[](_) ⇒ Object
-
#initialize(value) ⇒ ReplaceWithStaticValue
constructor
A new instance of ReplaceWithStaticValue.
Constructor Details
#initialize(value) ⇒ ReplaceWithStaticValue
Returns a new instance of ReplaceWithStaticValue.
137 138 139 |
# File 'lib/washcloth.rb', line 137 def initialize(value) @value = value end |
Instance Method Details
#[](_) ⇒ Object
141 142 143 |
# File 'lib/washcloth.rb', line 141 def [](_) @value end |