Class: Kapusta::Compiler::Language::LuaIteratorForm

Inherits:
Struct
  • Object
show all
Defined in:
lib/kapusta/compiler/language.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#collectionObject

Returns the value of attribute collection

Returns:

  • (Object)

    the current value of collection



27
28
29
# File 'lib/kapusta/compiler/language.rb', line 27

def collection
  @collection
end

#headObject

Returns the value of attribute head

Returns:

  • (Object)

    the current value of head



27
28
29
# File 'lib/kapusta/compiler/language.rb', line 27

def head
  @head
end

Instance Method Details

#nameObject



28
# File 'lib/kapusta/compiler/language.rb', line 28

def name = head.name