Class: Sleek::QueryCollection
- Inherits:
-
Object
- Object
- Sleek::QueryCollection
- Defined in:
- lib/sleek/query_collection.rb
Instance Attribute Summary collapse
-
#namespace ⇒ Object
readonly
Returns the value of attribute namespace.
Instance Method Summary collapse
-
#initialize(namespace) ⇒ QueryCollection
constructor
Inernal: Initialize query collection.
- #inspect ⇒ Object
Constructor Details
#initialize(namespace) ⇒ QueryCollection
Inernal: Initialize query collection.
namespace - the Sleek::Namespace object.
8 9 10 |
# File 'lib/sleek/query_collection.rb', line 8 def initialize(namespace) @namespace = namespace end |
Instance Attribute Details
#namespace ⇒ Object (readonly)
Returns the value of attribute namespace.
3 4 5 |
# File 'lib/sleek/query_collection.rb', line 3 def namespace @namespace end |
Instance Method Details
#inspect ⇒ Object
21 22 23 |
# File 'lib/sleek/query_collection.rb', line 21 def inspect "#<Sleek::QueryCollection ns=#{namespace.name}>" end |