Class: Plistr::Array

Inherits:
Struct show all
Defined in:
lib/plistr.rb

Instance Method Summary collapse

Constructor Details

#initializeArray

Returns a new instance of Array.



94
95
96
# File 'lib/plistr.rb', line 94

def initialize
  @array = []
end

Instance Method Details

#parseObject



98
99
100
# File 'lib/plistr.rb', line 98

def parse
  @array
end

#push(value) ⇒ Object



102
103
104
# File 'lib/plistr.rb', line 102

def push(value)
  @array.push value.parse
end