Class: RLTK::CG::Function::FunctionAttrCollection
- Inherits:
-
AttrCollection
- Object
- AttrCollection
- RLTK::CG::Function::FunctionAttrCollection
- Defined in:
- lib/rltk/cg/function.rb
Overview
This class is used to access a function’s attributes.
Constant Summary collapse
- @@add_method =
:add_function_attr
- @@del_method =
:remove_function_attr
Instance Method Summary collapse
-
#add_td_attr(attribute, value) ⇒ void
Set a target-dependent function attribute.
Instance Method Details
#add_td_attr(attribute, value) ⇒ void
This method returns an undefined value.
Set a target-dependent function attribute.
185 186 187 |
# File 'lib/rltk/cg/function.rb', line 185 def add_td_attr(attribute, value) Bindings.add_target_dependent_function_attr(@value, attribute, value) end |