Class: Concealer::Fallback::String
- Inherits:
-
Object
- Object
- Concealer::Fallback::String
- Defined in:
- lib/concealer/fallback/string.rb
Instance Method Summary collapse
- #call(model, method, args) ⇒ Object
-
#initialize(value = "") ⇒ String
constructor
A new instance of String.
Constructor Details
#initialize(value = "") ⇒ String
Returns a new instance of String.
3 4 5 |
# File 'lib/concealer/fallback/string.rb', line 3 def initialize(value = "") @value = value end |
Instance Method Details
#call(model, method, args) ⇒ Object
7 8 9 |
# File 'lib/concealer/fallback/string.rb', line 7 def call(model, method, args) @value end |