Class: Gem::SafeMarshal::Elements::Symbol
- 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) ⇒ Symbol
constructor
A new instance of Symbol.
Constructor Details
#initialize(name) ⇒ Symbol
Returns a new instance of Symbol.
10 11 12 |
# File 'lib/rubygems/safe_marshal/elements.rb', line 10 def initialize(name) @name = name end |
Instance Attribute Details
#name ⇒ Object (readonly)
Returns the value of attribute name.
13 14 15 |
# File 'lib/rubygems/safe_marshal/elements.rb', line 13 def name @name end |