Class: Praat::MetaCollection
- Inherits:
-
Array
- Object
- Array
- Praat::MetaCollection
- Defined in:
- lib/praat.rb
Overview
Something will be either a collection or an object. Only an object can have properties.
Instance Attribute Summary collapse
-
#parent ⇒ Object
Returns the value of attribute parent.
Instance Method Summary collapse
Instance Attribute Details
#parent ⇒ Object
Returns the value of attribute parent.
42 43 44 |
# File 'lib/praat.rb', line 42 def parent @parent end |
Instance Method Details
#<<(object) ⇒ Object
44 45 46 47 |
# File 'lib/praat.rb', line 44 def << object object.parent = self super object end |
#to_s ⇒ Object
49 50 51 |
# File 'lib/praat.rb', line 49 def to_s self.inspect << super end |