Class: BiteScript::ASM::EnumValue
- Inherits:
-
Object
- Object
- BiteScript::ASM::EnumValue
- Defined in:
- lib/bitescript/mirror.rb,
lib/bitescript/asm3/mirror.rb
Instance Attribute Summary collapse
-
#declaring_type ⇒ Object
readonly
Returns the value of attribute declaring_type.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize(declaring_type, name) ⇒ EnumValue
constructor
A new instance of EnumValue.
Constructor Details
#initialize(declaring_type, name) ⇒ EnumValue
Returns a new instance of EnumValue.
7 8 9 10 |
# File 'lib/bitescript/mirror.rb', line 7 def initialize(declaring_type, name) @declaring_type = declaring_type @name = name end |
Instance Attribute Details
#declaring_type ⇒ Object (readonly)
Returns the value of attribute declaring_type.
5 6 7 |
# File 'lib/bitescript/mirror.rb', line 5 def declaring_type @declaring_type end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
5 6 7 |
# File 'lib/bitescript/mirror.rb', line 5 def name @name end |