Class: Strumbar::Configuration
- Inherits:
-
Object
- Object
- Strumbar::Configuration
- Defined in:
- lib/strumbar/configuration.rb
Instance Attribute Summary collapse
-
#application ⇒ Object
Returns the value of attribute application.
-
#default_rate ⇒ Object
Returns the value of attribute default_rate.
-
#host ⇒ Object
Returns the value of attribute host.
-
#instruments ⇒ Object
Returns the value of attribute instruments.
-
#port ⇒ Object
Returns the value of attribute port.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
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
#application ⇒ Object
Returns the value of attribute application.
43 44 45 |
# File 'lib/strumbar/configuration.rb', line 43 def application @application end |
#default_rate ⇒ Object
Returns the value of attribute default_rate.
43 44 45 |
# File 'lib/strumbar/configuration.rb', line 43 def default_rate @default_rate end |
#host ⇒ Object
Returns the value of attribute host.
43 44 45 |
# File 'lib/strumbar/configuration.rb', line 43 def host @host end |
#instruments ⇒ Object
Returns the value of attribute instruments.
43 44 45 |
# File 'lib/strumbar/configuration.rb', line 43 def instruments @instruments end |
#port ⇒ Object
Returns the value of attribute port.
43 44 45 |
# File 'lib/strumbar/configuration.rb', line 43 def port @port end |