Class: Kapusta::Compiler::Language::ModuleForm

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

Instance Attribute Summary collapse

Instance Attribute Details

#bodyObject

Returns the value of attribute body

Returns:

  • (Object)

    the current value of body



11
12
13
# File 'lib/kapusta/compiler/language.rb', line 11

def body
  @body
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



11
12
13
# File 'lib/kapusta/compiler/language.rb', line 11

def name
  @name
end

#prefix_lengthObject

Returns the value of attribute prefix_length

Returns:

  • (Object)

    the current value of prefix_length



11
12
13
# File 'lib/kapusta/compiler/language.rb', line 11

def prefix_length
  @prefix_length
end