Class: TwitterCldr::Transforms::Filters::NullFilter

Inherits:
FilterRule show all
Defined in:
lib/twitter_cldr/transforms/filters/null_filter.rb

Constant Summary

Constants inherited from Rule

Rule::STRING_TYPES

Instance Method Summary collapse

Methods inherited from FilterRule

accepts?, #is_filter_rule?, parse

Methods inherited from Rule

#invert, #is_comment?, #is_conversion_rule?, #is_conversion_rule_set?, #is_filter_rule?, #is_transform_rule?, #is_variable?, regexp_token_string, remove_comment, replace_symbols, token_string, #token_string, token_value, #token_value

Instance Method Details

#backward?Boolean

Returns:

  • (Boolean)

19
20
21
# File 'lib/twitter_cldr/transforms/filters/null_filter.rb', line 19

def backward?
  true
end

#forward?Boolean

Returns:

  • (Boolean)

15
16
17
# File 'lib/twitter_cldr/transforms/filters/null_filter.rb', line 15

def forward?
  true
end

#matches?(cursor) ⇒ Boolean

Returns:

  • (Boolean)

11
12
13
# File 'lib/twitter_cldr/transforms/filters/null_filter.rb', line 11

def matches?(cursor)
  true
end