Class: RakeFactory::StaticValue

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

Instance Method Summary collapse

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