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.
61 62 63 |
# File 'lib/drb/websocket/rack_app.rb', line 61 def initialize @standalone = true end |
Instance Attribute Details
#callback_url ⇒ Object
Returns the value of attribute callback_url.
59 60 61 |
# File 'lib/drb/websocket/rack_app.rb', line 59 def callback_url @callback_url end |
#standalone ⇒ Object (readonly)
Returns the value of attribute standalone.
59 60 61 |
# File 'lib/drb/websocket/rack_app.rb', line 59 def standalone @standalone end |
Instance Method Details
#use_rack=(flag) ⇒ Object
65 66 67 |
# File 'lib/drb/websocket/rack_app.rb', line 65 def use_rack=(flag) @standalone = !flag end |