Class: Garage::NestedFieldQuery::DefaultSelector

Inherits:
Object
  • Object
show all
Defined in:
lib/garage/nested_field_query.rb

Direct Known Subclasses

FullSelector

Instance Method Summary collapse

Instance Method Details

#[](name) ⇒ Object



112
113
114
# File 'lib/garage/nested_field_query.rb', line 112

def [](name)
  DefaultSelector.new
end

#canonicalObject



116
117
118
# File 'lib/garage/nested_field_query.rb', line 116

def canonical
  ''
end

#excludes?(field) ⇒ Boolean

Returns:

  • (Boolean)


108
109
110
# File 'lib/garage/nested_field_query.rb', line 108

def excludes?(field)
  false
end

#includes?(field) ⇒ Boolean

Doesn’t specify anything - includes/excludes returns both false :)

Returns:

  • (Boolean)


104
105
106
# File 'lib/garage/nested_field_query.rb', line 104

def includes?(field)
  false
end