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

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(annotation, array) ⇒ ValueArray

Returns a new instance of ValueArray.



62
63
64
65
# File 'lib/bitescript/mirror.rb', line 62

def initialize(annotation, array)
  @parent = annotation
  @array = array
end

Instance Attribute Details

#parentObject (readonly)

Returns the value of attribute parent.



61
62
63
# File 'lib/bitescript/mirror.rb', line 61

def parent
  @parent
end

Instance Method Details

#[]=(name, value) ⇒ Object



67
68
69
# File 'lib/bitescript/mirror.rb', line 67

def []=(name, value)
  @array << value
end