Class: DefAlias

Inherits:
ErbPP 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



276
277
278
# File 'ext/numo/narray/gen/erbpp2.rb', line 276

def init_def
  "rb_define_alias(#{_mod_var}, \"#{from}\", \"#{to}\");"
end