Class: FilterRename::Filters::PrependFrom
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
511
|
# File 'lib/filter_rename/filters.rb', line 511
def self.hint; 'Prepend the current target with the text from TARGET'; end
|
.params ⇒ Object
512
|
# File 'lib/filter_rename/filters.rb', line 512
def self.params; 'TARGET'; end
|
Instance Method Details
#filter(params) ⇒ Object
514
515
516
|
# File 'lib/filter_rename/filters.rb', line 514
def filter(params)
super "#{get_string(params[0])}#{get_string}"
end
|