Class: FilterRename::Filters::Prepend
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
501
|
# File 'lib/filter_rename/filters.rb', line 501
def self.hint; 'Prepend the current target with TEXT'; end
|
.params ⇒ Object
502
|
# File 'lib/filter_rename/filters.rb', line 502
def self.params; 'TEXT'; end
|
Instance Method Details
#filter(params) ⇒ Object
504
505
506
|
# File 'lib/filter_rename/filters.rb', line 504
def filter(params)
super "#{params[0]}#{get_string}"
end
|