Class: FilterRename::Filters::AppendTo
Class Method Summary
collapse
Instance Method Summary
collapse
#current_target, #get_config, #get_string, #get_words, #initialize, #match?, #set_config, #set_string, #wrap_regex
Class Method Details
.hint ⇒ Object
84
|
# File 'lib/filter_rename/filters.rb', line 84
def self.hint; 'Append the TEXT to TARGET'; end
|
.params ⇒ Object
85
|
# File 'lib/filter_rename/filters.rb', line 85
def self.params; 'TEXT,TARGET'; end
|
Instance Method Details
#filter(params) ⇒ Object
87
88
89
90
|
# File 'lib/filter_rename/filters.rb', line 87
def filter(params)
set_string(get_string(params[1]).to_s + params[0], params[1])
super get_string
end
|