Class: ObjCIvar
- Inherits:
-
Object
- Object
- ObjCIvar
- Defined in:
- lib/mt_tool/short_hand/objc_shorthand.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#objc_type ⇒ Object
readonly
Returns the value of attribute objc_type.
-
#options ⇒ Object
readonly
Returns the value of attribute options.
Instance Method Summary collapse
-
#initialize(name, type, options) ⇒ ObjCIvar
constructor
A new instance of ObjCIvar.
Constructor Details
#initialize(name, type, options) ⇒ ObjCIvar
Returns a new instance of ObjCIvar.
48 49 50 51 52 |
# File 'lib/mt_tool/short_hand/objc_shorthand.rb', line 48 def initialize name, type, @name = name @objc_type = type @options = end |
Instance Attribute Details
#name ⇒ Object (readonly)
Returns the value of attribute name.
54 55 56 |
# File 'lib/mt_tool/short_hand/objc_shorthand.rb', line 54 def name @name end |
#objc_type ⇒ Object (readonly)
Returns the value of attribute objc_type.
54 55 56 |
# File 'lib/mt_tool/short_hand/objc_shorthand.rb', line 54 def objc_type @objc_type end |
#options ⇒ Object (readonly)
Returns the value of attribute options.
54 55 56 |
# File 'lib/mt_tool/short_hand/objc_shorthand.rb', line 54 def @options end |