Class: SQB::WhereDSL::Attribute

Inherits:
Object
  • Object
show all
Defined in:
lib/sqb/where_dsl.rb

Direct Known Subclasses

NegativeAttribute, PositiveAttribute

Instance Method Summary collapse

Constructor Details

#initialize(attribute_name, hash) ⇒ Attribute

Returns a new instance of Attribute.



23
24
25
26
# File 'lib/sqb/where_dsl.rb', line 23

def initialize(attribute_name, hash)
  @attribute_name = attribute_name
  @hash = hash
end