Class: Omega::Base
- Inherits:
-
Object
- Object
- Omega::Base
- Defined in:
- lib/omega/base.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#data ⇒ Object
readonly
Returns the value of attribute data.
Instance Method Summary collapse
-
#initialize(client, data) ⇒ Base
constructor
A new instance of Base.
Constructor Details
#initialize(client, data) ⇒ Base
Returns a new instance of Base.
7 8 9 10 |
# File 'lib/omega/base.rb', line 7 def initialize(client, data) @client = client @data = data end |
Instance Attribute Details
#data ⇒ Object (readonly)
Returns the value of attribute data.
5 6 7 |
# File 'lib/omega/base.rb', line 5 def data @data end |