Class: DRb::WebSocket::RackApp::Config

Inherits:
Object
  • Object
show all
Defined in:
lib/drb/websocket/rack_app.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfig

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_urlObject

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

#standaloneObject (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