Class: TwitterCldr::Transforms::Transforms::BlankTransform
Constant Summary
collapse
- TRANSFORM =
'blank'.freeze
Constants inherited
from Rule
Rule::STRING_TYPES
Instance Attribute Summary
#backward_form, #forward_form
Class Method Summary
collapse
Instance Method Summary
collapse
accepts?, #backward?, blank?, #forward?, #invert, #is_transform_rule?, null?, parse
Methods inherited from Rule
#backward?, #forward?, #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
Class Method Details
.instance ⇒ Object
13
14
15
|
# File 'lib/twitter_cldr/transforms/transforms/blank_transform.rb', line 13
def self.instance
@instance ||= new
end
|
Instance Method Details
#apply_to(cursor) ⇒ Object
25
26
27
|
# File 'lib/twitter_cldr/transforms/transforms/blank_transform.rb', line 25
def apply_to(cursor)
puts 'BLANK' if $debug
end
|
#blank? ⇒ Boolean
33
34
35
|
# File 'lib/twitter_cldr/transforms/transforms/blank_transform.rb', line 33
def blank?
true
end
|
41
42
43
|
# File 'lib/twitter_cldr/transforms/transforms/blank_transform.rb', line 41
def has_transform?(*args)
false
end
|
#null? ⇒ Boolean
29
30
31
|
# File 'lib/twitter_cldr/transforms/transforms/blank_transform.rb', line 29
def null?
false
end
|
37
38
39
|
# File 'lib/twitter_cldr/transforms/transforms/blank_transform.rb', line 37
def transform
TRANSFORM
end
|