Class: Pleiades::Client::Wrapper
- Inherits:
-
Object
- Object
- Pleiades::Client::Wrapper
- Defined in:
- lib/pleiades/core/client/wrapper.rb
Instance Attribute Summary collapse
-
#histories ⇒ Object
readonly
Returns the value of attribute histories.
Instance Method Summary collapse
-
#initialize(client) ⇒ Wrapper
constructor
A new instance of Wrapper.
Constructor Details
#initialize(client) ⇒ Wrapper
Returns a new instance of Wrapper.
6 7 8 9 |
# File 'lib/pleiades/core/client/wrapper.rb', line 6 def initialize(client) @obj = client @histories = [] end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing(method, *args, &block) ⇒ Object (private)
13 14 15 16 17 |
# File 'lib/pleiades/core/client/wrapper.rb', line 13 def method_missing(method, *args, &block) return super unless @obj.respond_to?(method) execute(method, *args) end |
Instance Attribute Details
#histories ⇒ Object (readonly)
Returns the value of attribute histories.
4 5 6 |
# File 'lib/pleiades/core/client/wrapper.rb', line 4 def histories @histories end |