Class: Patchboard::Client
- Inherits:
-
Object
- Object
- Patchboard::Client
- Defined in:
- lib/patchboard.rb
Instance Attribute Summary collapse
-
#context ⇒ Object
readonly
Returns the value of attribute context.
-
#resources ⇒ Object
readonly
Returns the value of attribute resources.
Instance Method Summary collapse
-
#initialize(main, context, api, klasses) ⇒ Client
constructor
A new instance of Client.
- #spawn(context = nil) ⇒ Object
Constructor Details
Instance Attribute Details
#context ⇒ Object (readonly)
Returns the value of attribute context.
102 103 104 |
# File 'lib/patchboard.rb', line 102 def context @context end |
#resources ⇒ Object (readonly)
Returns the value of attribute resources.
102 103 104 |
# File 'lib/patchboard.rb', line 102 def resources @resources end |
Instance Method Details
#spawn(context = nil) ⇒ Object
109 110 111 |
# File 'lib/patchboard.rb', line 109 def spawn(context=nil) @main.spawn(context) end |