Class: CastArray
- Inherits:
-
StoreArray
- Object
- ErbPP
- Function
- Store
- StoreArray
- CastArray
- Defined in:
- lib/erbpp/narray_def.rb
Constant Summary
Constants inherited from Store
Constants inherited from Function
Constants inherited from ErbPP
Instance Attribute Summary
Attributes inherited from Store
#dtype, #macro, #tmpl, #tpclass, #tpname
Instance Method Summary collapse
Methods inherited from StoreArray
Methods inherited from Store
#definition, definitions, #initialize
Methods inherited from Function
#c_method, #code, codes, #definition, definitions, #id_op, #initialize, #method, #op_map
Methods inherited from ErbPP
#attr_method, #attrs, #check_params, define_attrs, #has_attr?, #initialize, #load_erb, #method_missing, #method_missing_alias, #parents, #result, #run, #search_method_in_parents
Constructor Details
This class inherits a constructor from StoreArray
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class ErbPP
Instance Method Details
#c_func ⇒ Object
344 345 346 |
# File 'lib/erbpp/narray_def.rb', line 344 def c_func "numo_#{tp}_cast_#{tpname}" end |
#c_iter ⇒ Object
348 349 350 |
# File 'lib/erbpp/narray_def.rb', line 348 def c_iter "iter_#{tp}_cast_#{tpname}" end |
#condition ⇒ Object
340 341 342 |
# File 'lib/erbpp/narray_def.rb', line 340 def condition nil end |