Class: DRb::WebSocket::RackApp::Config
- Inherits:
-
Object
- Object
- DRb::WebSocket::RackApp::Config
- Defined in:
- lib/drb/websocket/rack_app.rb
Instance Attribute Summary collapse
-
#callback_url ⇒ Object
Returns the value of attribute callback_url.
-
#standalone ⇒ Object
readonly
Returns the value of attribute standalone.
Instance Method Summary collapse
-
#initialize ⇒ Config
constructor
A new instance of Config.
- #use_rack=(flag) ⇒ Object
Constructor Details
#initialize ⇒ Config
Returns a new instance of Config.
62 63 64 |
# File 'lib/drb/websocket/rack_app.rb', line 62 def initialize @standalone = true end |
Instance Attribute Details
#callback_url ⇒ Object
Returns the value of attribute callback_url.
60 61 62 |
# File 'lib/drb/websocket/rack_app.rb', line 60 def callback_url @callback_url end |
#standalone ⇒ Object (readonly)
Returns the value of attribute standalone.
60 61 62 |
# File 'lib/drb/websocket/rack_app.rb', line 60 def standalone @standalone end |
Instance Method Details
#use_rack=(flag) ⇒ Object
66 67 68 |
# File 'lib/drb/websocket/rack_app.rb', line 66 def use_rack=(flag) @standalone = !flag end |