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



102
103
104
# File 'lib/r18n-core/filter_list.rb', line 102

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

#all(type) ⇒ Object



106
107
108
# File 'lib/r18n-core/filter_list.rb', line 106

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

#passive(type) ⇒ Object



98
99
100
# File 'lib/r18n-core/filter_list.rb', line 98

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