Class: RademadeAdmin::Search::Part::Where

Inherits:
Abstract
  • Object
show all
Defined in:
app/services/search/part/where.rb

Instance Attribute Summary collapse

Attributes inherited from Abstract

#parts

Instance Method Summary collapse

Methods inherited from Abstract

#add, #sub_add, #sub_unshift, #unshift

Constructor Details

#initialize(type) ⇒ Where

Returns a new instance of Where.



11
12
13
14
# File 'app/services/search/part/where.rb', line 11

def initialize(type)
  super()
  @type = type
end

Instance Attribute Details

#typeObject (readonly)

Returns the value of attribute type.



9
10
11
# File 'app/services/search/part/where.rb', line 9

def type
  @type
end