Class: Mappum::DSL::Constant
Instance Method Summary collapse
-
#initialize(value) ⇒ Constant
constructor
A new instance of Constant.
Methods inherited from Mappet
#<<, #<=>, #>>, #mpun_definition
Constructor Details
#initialize(value) ⇒ Constant
Returns a new instance of Constant.
237 238 239 240 |
# File 'lib/mappum/dsl.rb', line 237 def initialize(value) @def = Mappum::Constant.new @def.value = value end |