Class: RLTK::CG::Function::FunctionAttrCollection

Inherits:
AttrCollection
  • Object
show all
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

Instance Method Details

#add_td_attr(attribute, value) ⇒ void

This method returns an undefined value.

Set a target-dependent function attribute.

Parameters:

  • attribute (String)

    Attribute name

  • value (String)

    Attribute value



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