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
682
683
684
|
# File 'lib/filter_rename/filters.rb', line 682
def self.hint
"Prepend the current target with the text from TARGET"
end
|
.params ⇒ Object
686
687
688
|
# File 'lib/filter_rename/filters.rb', line 686
def self.params
"TARGET"
end
|
Instance Method Details
#filter(params) ⇒ Object
690
691
692
|
# File 'lib/filter_rename/filters.rb', line 690
def filter(params)
super("#{get_string(params[0])}#{get_string}")
end
|