Class: Autorake::AddMacro
- Defined in:
- lib/autorake/definition.rb
Instance Method Summary collapse
Methods inherited from AddKeyVal
Methods inherited from Add
Constructor Details
This class inherits a constructor from Autorake::AddKeyVal
Instance Method Details
#set! ⇒ Object
174 175 176 177 178 |
# File 'lib/autorake/definition.rb', line 174 def set! v = @val || ( @name.to_s.upcase) @config.parameters[ @name] = v @config.macros[ "WITH_#{name_upcase}"] = v end |