Class: RakeFactory::StaticValue

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

Instance Method Summary collapse

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