Class: Qapi::Query
- Inherits:
-
Object
- Object
- Qapi::Query
- Defined in:
- lib/qapi/query.rb
Instance Attribute Summary collapse
-
#connection ⇒ Object
readonly
Returns the value of attribute connection.
Instance Method Summary collapse
-
#initialize(connection) ⇒ Query
constructor
A new instance of Query.
Constructor Details
#initialize(connection) ⇒ Query
Returns a new instance of Query.
6 7 8 |
# File 'lib/qapi/query.rb', line 6 def initialize(connection) @connection = connection end |
Instance Attribute Details
#connection ⇒ Object (readonly)
Returns the value of attribute connection.
4 5 6 |
# File 'lib/qapi/query.rb', line 4 def connection @connection end |