Class: UndefSingletonMethod

Inherits:
ErbPP
  • Object
show all
Defined in:
ext/numo/narray/gen/erbpp2.rb

Instance Attribute Summary

Attributes inherited from ErbPP

#children, #parent

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_defObject



300
301
302
# File 'ext/numo/narray/gen/erbpp2.rb', line 300

def init_def
  "rb_undef_method(rb_singleton_class(#{_mod_var}),\"#{name}\");"
end