Module: Hirb::Helpers::Table::Filters

Extended by:
Filters
Included in:
Filters
Defined in:
lib/hirb/helpers/table/filters.rb

Overview

Contains filter methods used by :filters option. To define a custom filter, simply open this module and create a method that take one argument, the value you will be filtering.

Instance Method Summary collapse

Instance Method Details

#comma_join(arr) ⇒ Object

:nodoc:



6
7
8
# File 'lib/hirb/helpers/table/filters.rb', line 6

def comma_join(arr) #:nodoc:
  arr.join(', ')
end