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
45 46 47 |
# File 'lib/rake_factory/values.rb', line 45 def initialize(value) @value = value end |
Instance Method Details
#append_argument(_) ⇒ Object
53 54 55 |
# File 'lib/rake_factory/values.rb', line 53 def append_argument(_) self end |
#evaluate(*_) ⇒ Object
57 58 59 |
# File 'lib/rake_factory/values.rb', line 57 def evaluate(*_) @value end |
#prepend_argument(_) ⇒ Object
49 50 51 |
# File 'lib/rake_factory/values.rb', line 49 def prepend_argument(_) self end |