Class: R18n::GlobalFilterList

Inherits:
FilterList show all
Includes:
Singleton
Defined in:
lib/r18n-core/filter_list.rb

Overview

Filter list for I18n object with only global filters.

Instance Method Summary collapse

Methods inherited from FilterList

#enabled, #process, #process_string, #process_typed

Instance Method Details

#active(type) ⇒ Object



100
101
102
# File 'lib/r18n-core/filter_list.rb', line 100

def active(type)
  Filters.active_enabled[type]
end

#all(type) ⇒ Object



104
105
106
# File 'lib/r18n-core/filter_list.rb', line 104

def all(type)
  Filters.enabled[type]
end

#passive(type) ⇒ Object



96
97
98
# File 'lib/r18n-core/filter_list.rb', line 96

def passive(type)
  Filters.passive_enabled[type]
end