Class: VimColor::Format_array

Inherits:
Object
  • Object
show all
Defined in:
lib/msgpack/idl/command/vimcolor.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeFormat_array

Returns a new instance of Format_array.



140
141
142
# File 'lib/msgpack/idl/command/vimcolor.rb', line 140

def initialize
	@result = []
end

Instance Attribute Details

#resultObject (readonly)

Returns the value of attribute result.



146
147
148
# File 'lib/msgpack/idl/command/vimcolor.rb', line 146

def result
  @result
end

Instance Method Details

#push(type, text) ⇒ Object



143
144
145
# File 'lib/msgpack/idl/command/vimcolor.rb', line 143

def push(type, text)
	@result.push [type, text]
end