Class: BiteScript::ASM::AnnotationMirror::Builder::ValueArray

Inherits:
Object
  • Object
show all
Defined in:
lib/bitescript/mirror.rb,
lib/bitescript/asm3/mirror.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#parentObject (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