Class: Washcloth::Filters::ReplaceWithStaticValue

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

Instance Method Summary collapse

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