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
668
669
670
|
# File 'lib/filter_rename/filters.rb', line 668
def self.hint
"Prepend the current target with TEXT"
end
|
.params ⇒ Object
672
673
674
|
# File 'lib/filter_rename/filters.rb', line 672
def self.params
"TEXT"
end
|
Instance Method Details
#filter(params) ⇒ Object
676
677
678
|
# File 'lib/filter_rename/filters.rb', line 676
def filter(params)
super("#{params[0]}#{get_string}")
end
|