Class: Gem::SafeMarshal::Elements::Array

Inherits:
Element
  • Object
show all
Defined in:
lib/rubygems/safe_marshal/elements.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#elementsObject (readonly)

Returns the value of attribute elements.



64
65
66
# File 'lib/rubygems/safe_marshal/elements.rb', line 64

def elements
  @elements
end