Module: Gamefic::Query
- Defined in:
- lib/gamefic/query.rb,
lib/gamefic/query/base.rb,
lib/gamefic/query/self.rb,
lib/gamefic/query/text.rb,
lib/gamefic/query/family.rb,
lib/gamefic/query/parent.rb,
lib/gamefic/query/matches.rb,
lib/gamefic/query/children.rb,
lib/gamefic/query/siblings.rb,
lib/gamefic/plot/query_mount.rb,
lib/gamefic/query/expression.rb
Defined Under Namespace
Classes: AmbiguousChildren, Base, Children, Expression, Family, ManyChildren, Matches, Parent, PluralChildren, Self, Siblings, Text
Class Method Summary
collapse
Class Method Details
.allow_plurals=(boolean) ⇒ Object
25
26
27
|
# File 'lib/gamefic/query.rb', line 25
def self.allow_plurals= boolean
@allow_plurals = boolean
end
|
.allow_plurals? ⇒ Boolean
19
20
21
22
23
24
|
# File 'lib/gamefic/query.rb', line 19
def self.allow_plurals?
if @allow_plurals.nil?
@allow_plurals = true
end
@allow_plurals
end
|
.siblings(*arguments) ⇒ Object
5
6
7
|
# File 'lib/gamefic/plot/query_mount.rb', line 5
def self.siblings *arguments
Siblings.new *arguments
end
|