Class: DefInclueModule
Instance Attribute Summary
Attributes inherited from ErbPP
Instance Method Summary collapse
- #init_def ⇒ Object
-
#initialize(parent = nil, incl_class, incl_module, **opts, &block) ⇒ DefInclueModule
constructor
A new instance of DefInclueModule.
Methods inherited from ErbPP
#add_child, #description, #find, #find_tmpl, #get, #load_erb, #method_missing, #method_missing_alias, #result, #run, #set, #write
Constructor Details
#initialize(parent = nil, incl_class, incl_module, **opts, &block) ⇒ DefInclueModule
Returns a new instance of DefInclueModule.
338 339 340 |
# File 'ext/numo/narray/gen/erbpp2.rb', line 338 def initialize(parent=nil, incl_class, incl_module, **opts, &block) super(parent,incl_class:incl_class,incl_module:incl_module,**opts,&block) end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class ErbPP
Instance Method Details
#init_def ⇒ Object
341 342 343 |
# File 'ext/numo/narray/gen/erbpp2.rb', line 341 def init_def "rb_include_module(#{get(:incl_class)}, #{get(:incl_module)});" end |