Class: IB::OCInterface::Outlet
- Inherits:
-
Struct
- Object
- Struct
- IB::OCInterface::Outlet
- Defined in:
- lib/ib/oc_interface.rb
Instance Attribute Summary collapse
-
#type ⇒ Object
Returns the value of attribute type.
-
#variable ⇒ Object
Returns the value of attribute variable.
Instance Method Summary collapse
Instance Attribute Details
#type ⇒ Object
Returns the value of attribute type
6 7 8 |
# File 'lib/ib/oc_interface.rb', line 6 def type @type end |
#variable ⇒ Object
Returns the value of attribute variable
6 7 8 |
# File 'lib/ib/oc_interface.rb', line 6 def variable @variable end |
Instance Method Details
#formated_type ⇒ Object
7 8 9 |
# File 'lib/ib/oc_interface.rb', line 7 def formated_type type == "id" ? type : "#{type} *" end |