Class: Gem::SafeMarshal::Elements::Array
- Defined in:
- lib/rubygems/safe_marshal/elements.rb
Instance Attribute Summary collapse
-
#elements ⇒ Object
readonly
Returns the value of attribute elements.
Instance Method Summary collapse
-
#initialize(elements) ⇒ Array
constructor
A new instance of Array.
Constructor Details
#initialize(elements) ⇒ Array
Returns a new instance of Array.
60 61 62 |
# File 'lib/rubygems/safe_marshal/elements.rb', line 60 def initialize(elements) @elements = elements end |
Instance Attribute Details
#elements ⇒ Object (readonly)
Returns the value of attribute elements.
64 65 66 |
# File 'lib/rubygems/safe_marshal/elements.rb', line 64 def elements @elements end |