Class: Gem::SafeMarshal::Elements::Object
- Defined in:
- lib/rubygems/safe_marshal/elements.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
readonly
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize(name) ⇒ Object
constructor
A new instance of Object.
Constructor Details
#initialize(name) ⇒ Object
Returns a new instance of Object.
98 99 100 |
# File 'lib/rubygems/safe_marshal/elements.rb', line 98 def initialize(name) @name = name end |
Instance Attribute Details
#name ⇒ Object (readonly)
Returns the value of attribute name.
101 102 103 |
# File 'lib/rubygems/safe_marshal/elements.rb', line 101 def name @name end |