Module: Hirb::Helpers::Table::Filters
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
-
#comma_join(arr) ⇒ Object
:nodoc:.
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 |