Method: FilterTable::Factory#initialize
- Defined in:
- lib/utils/filter.rb
#initialize ⇒ Factory
Returns a new instance of Factory.
280 281 282 283 284 285 286 287 |
# File 'lib/utils/filter.rb', line 280 def initialize @filter_methods = [:where, :entries, :raw_data] @custom_properties = {} register_custom_matcher(:exist?) { |table| !table.raw_data.empty? } register_custom_property(:count) { |table| table.raw_data.count } @resource = nil # TODO: this variable is never initialized end |