Class: BiteScript::ASM::AnnotationMirror::Builder::ValueArray
- Inherits:
-
Object
- Object
- BiteScript::ASM::AnnotationMirror::Builder::ValueArray
- Defined in:
- lib/bitescript/mirror.rb,
lib/bitescript/asm3/mirror.rb
Instance Attribute Summary collapse
-
#parent ⇒ Object
readonly
Returns the value of attribute parent.
Instance Method Summary collapse
- #[]=(name, value) ⇒ Object
-
#initialize(annotation, array) ⇒ ValueArray
constructor
A new instance of ValueArray.
Constructor Details
#initialize(annotation, array) ⇒ ValueArray
Returns a new instance of ValueArray.
64 65 66 67 |
# File 'lib/bitescript/mirror.rb', line 64 def initialize(annotation, array) @parent = annotation @array = array end |
Instance Attribute Details
#parent ⇒ Object (readonly)
Returns the value of attribute parent.
63 64 65 |
# File 'lib/bitescript/mirror.rb', line 63 def parent @parent end |
Instance Method Details
#[]=(name, value) ⇒ Object
69 70 71 |
# File 'lib/bitescript/mirror.rb', line 69 def []=(name, value) @array << value end |