Class: ObjCIvar

Inherits:
Object
  • Object
show all
Defined in:
lib/mt_tool/short_hand/objc_shorthand.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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, options
	@name = name
	@objc_type = type
	@options = options
end

Instance Attribute Details

#nameObject (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_typeObject (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

#optionsObject (readonly)

Returns the value of attribute options.



54
55
56
# File 'lib/mt_tool/short_hand/objc_shorthand.rb', line 54

def options
  @options
end