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



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

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

#all(type) ⇒ Object



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

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

#passive(type) ⇒ Object



93
94
95
# File 'lib/r18n-core/filter_list.rb', line 93

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