Class: Pekky::Format::Filters
Overview
The filters class just wraps the filters. Nothing special. Poor thing.
Class Method Summary collapse
-
.defaults ⇒ Object
Returns the array of filters defined in site config, or all of the filters.
Methods inherited from Wrapper
[], add, each, keys, method_missing, values
Class Method Details
.defaults ⇒ Object
Returns the array of filters defined in site config, or all of the filters.
95 96 97 |
# File 'lib/pekky/format.rb', line 95 def self.defaults @defaults ||= Config[:text_filters] ? Config[:text_filters] << :links : [:links] end |