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.
-
#custom_load ⇒ Object
Returns the value of attribute custom_load.
-
#default_rate ⇒ Object
Returns the value of attribute default_rate.
-
#host ⇒ Object
Returns the value of attribute host.
-
#port ⇒ Object
Returns the value of attribute port.
Instance Method Summary collapse
Instance Attribute Details
#application ⇒ Object
Returns the value of attribute application.
3 4 5 |
# File 'lib/strumbar/configuration.rb', line 3 def application @application end |
#custom_load ⇒ Object
Returns the value of attribute custom_load.
3 4 5 |
# File 'lib/strumbar/configuration.rb', line 3 def custom_load @custom_load end |
#default_rate ⇒ Object
Returns the value of attribute default_rate.
3 4 5 |
# File 'lib/strumbar/configuration.rb', line 3 def default_rate @default_rate end |
#host ⇒ Object
Returns the value of attribute host.
3 4 5 |
# File 'lib/strumbar/configuration.rb', line 3 def host @host end |
#port ⇒ Object
Returns the value of attribute port.
3 4 5 |
# File 'lib/strumbar/configuration.rb', line 3 def port @port end |
Instance Method Details
#instrumentation(&block) ⇒ Object
9 10 11 |
# File 'lib/strumbar/configuration.rb', line 9 def instrumentation(&block) @custom_load = block end |