Class: DefConst
Instance Attribute Summary
Attributes inherited from ErbPP
Instance Method Summary collapse
Methods inherited from ErbPP
#add_child, #description, #find, #find_tmpl, #get, #initialize, #load_erb, #method_missing, #method_missing_alias, #result, #run, #set, #write
Constructor Details
This class inherits a constructor from ErbPP
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class ErbPP
Instance Method Details
#init_def ⇒ Object
306 307 308 309 |
# File 'ext/numo/narray/gen/erbpp2.rb', line 306 def init_def "/*#{desc}*/ rb_define_const(#{_mod_var},\"#{name}\",#{value});" end |