lib/cql/query.rb in cql-1.5.0 vs lib/cql/query.rb in cql-1.5.1
- old
+ new
@@ -3,12 +3,15 @@
# Not a part of the public API. Subject to change at any time.
class Query
include Dsl
- attr_reader :data, :what
+ # the root object that will be queried
+ attr_reader :data,
+ # what kinds of objects will be selected
+ :what
-
+ # Creates a new query object
def initialize(directory, &block)
# Set root object
@data = directory
# Populate configurables from DSL block