Class: Plistr::Array
Instance Method Summary collapse
-
#initialize ⇒ Array
constructor
A new instance of Array.
- #parse ⇒ Object
- #push(value) ⇒ Object
Constructor Details
#initialize ⇒ Array
Returns a new instance of Array.
94 95 96 |
# File 'lib/plistr.rb', line 94 def initialize @array = [] end |
Instance Method Details
#parse ⇒ Object
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 |