Class: Orenono::Dsl

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

Overview

Dsl

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeDsl

Returns a new instance of Dsl.



18
19
20
21
22
23
24
25
26
27
28
# File 'lib/orenono_dsl.rb', line 18

def initialize
  @orenono = Orenono::DslModel.new
  @orenono.increment = '+'
  @orenono.decrement = '-'
  @orenono.start_loop = '['
  @orenono.end_loop = ']'
  @orenono.next_cursol = '>'
  @orenono.previous_cursol = '<'
  @orenono.display = '.'
  @orenono.read = ','
end

Instance Attribute Details

#orenonoObject

Returns the value of attribute orenono.



7
8
9
# File 'lib/orenono_dsl.rb', line 7

def orenono
  @orenono
end