Class: AcFilter

Inherits:
ActiveRecord::Base
  • Object
show all
Defined in:
app/models/ac_filter.rb

Instance Method Summary collapse

Instance Method Details

#has_filled_criteria?Boolean

Returns:

  • (Boolean)


8
9
10
# File 'app/models/ac_filter.rb', line 8

def has_filled_criteria?
  !self.filled_criteria.nil?
end

#has_unfilled_criteria?Boolean

Returns:

  • (Boolean)


12
13
14
# File 'app/models/ac_filter.rb', line 12

def has_unfilled_criteria?
  !self.unfilled_criteria.nil?
end