Class: RakeFactory::StaticValue
- Inherits:
-
Object
- Object
- RakeFactory::StaticValue
- Defined in:
- lib/rake_factory/values.rb
Instance Method Summary collapse
- #append_argument(_) ⇒ Object
- #evaluate(*_) ⇒ Object
-
#initialize(value) ⇒ StaticValue
constructor
A new instance of StaticValue.
- #prepend_argument(_) ⇒ Object
Constructor Details
#initialize(value) ⇒ StaticValue
Returns a new instance of StaticValue.
51 52 53 |
# File 'lib/rake_factory/values.rb', line 51 def initialize(value) @value = value end |
Instance Method Details
#append_argument(_) ⇒ Object
59 60 61 |
# File 'lib/rake_factory/values.rb', line 59 def append_argument(_) self end |
#evaluate(*_) ⇒ Object
63 64 65 |
# File 'lib/rake_factory/values.rb', line 63 def evaluate(*_) @value end |
#prepend_argument(_) ⇒ Object
55 56 57 |
# File 'lib/rake_factory/values.rb', line 55 def prepend_argument(_) self end |