Class: Gemite::AST::IndexAccess

Inherits:
Struct
  • Object
show all
Defined in:
lib/gemite/ast.rb

Instance Attribute Summary collapse

Instance Attribute Details

#indexObject

Returns the value of attribute index

Returns:

  • (Object)

    the current value of index



20
21
22
# File 'lib/gemite/ast.rb', line 20

def index
  @index
end

#receiverObject

Returns the value of attribute receiver

Returns:

  • (Object)

    the current value of receiver



20
21
22
# File 'lib/gemite/ast.rb', line 20

def receiver
  @receiver
end