Class: SimplePusher::Configuration
- Inherits:
-
Object
- Object
- SimplePusher::Configuration
- Defined in:
- lib/simple_pusher/configuration.rb
Instance Attribute Summary collapse
-
#debug ⇒ Object
Returns the value of attribute debug.
-
#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.
6 7 8 9 |
# File 'lib/simple_pusher/configuration.rb', line 6 def initialize @port ||= 8088 @debug ||= false end |
Instance Attribute Details
#debug ⇒ Object
Returns the value of attribute debug.
4 5 6 |
# File 'lib/simple_pusher/configuration.rb', line 4 def debug @debug end |
#port ⇒ Object
Returns the value of attribute port.
3 4 5 |
# File 'lib/simple_pusher/configuration.rb', line 3 def port @port end |