Class: JavaClass::ClassFile::Attributes::Attribute
- Defined in:
- lib/javaclass/classfile/attributes/attributes.rb
Overview
Base class of the attributes
- Author
-
Peter Kofler
Direct Known Subclasses
Instance Attribute Summary collapse
-
#name ⇒ Object
readonly
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize(name) ⇒ Attribute
constructor
A new instance of Attribute.
Constructor Details
#initialize(name) ⇒ Attribute
Returns a new instance of Attribute.
99 100 101 |
# File 'lib/javaclass/classfile/attributes/attributes.rb', line 99 def initialize(name) @name = name end |
Instance Attribute Details
#name ⇒ Object (readonly)
Returns the value of attribute name.
97 98 99 |
# File 'lib/javaclass/classfile/attributes/attributes.rb', line 97 def name @name end |