Class: Strumbar::Configuration

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

Returns a new instance of Configuration.



49
50
51
# File 'lib/strumbar/configuration.rb', line 49

def initialize
  @instruments = InstrumentList.new
end

Instance Attribute Details

#applicationObject

Returns the value of attribute application.



43
44
45
# File 'lib/strumbar/configuration.rb', line 43

def application
  @application
end

#default_rateObject

Returns the value of attribute default_rate.



43
44
45
# File 'lib/strumbar/configuration.rb', line 43

def default_rate
  @default_rate
end

#hostObject

Returns the value of attribute host.



43
44
45
# File 'lib/strumbar/configuration.rb', line 43

def host
  @host
end

#instrumentsObject

Returns the value of attribute instruments.



43
44
45
# File 'lib/strumbar/configuration.rb', line 43

def instruments
  @instruments
end

#portObject

Returns the value of attribute port.



43
44
45
# File 'lib/strumbar/configuration.rb', line 43

def port
  @port
end