Class: FilterRename::Filters::Replace
Class Method Summary
collapse
Instance Method Summary
collapse
#filter
#current_target, #filter, #get_config, #get_string, #get_words, #initialize, #match?, #set_config, #set_string, #wrap_regex
Class Method Details
.hint ⇒ Object
560
|
# File 'lib/filter_rename/filters.rb', line 560
def self.hint; 'Replace the text matching REGEX with REPLACE'; end
|
.params ⇒ Object
561
|
# File 'lib/filter_rename/filters.rb', line 561
def self.params; 'REGEX,REPLACE'; end
|
Instance Method Details
#filtered_regexp(matches, params) ⇒ Object
563
564
565
|
# File 'lib/filter_rename/filters.rb', line 563
def filtered_regexp(matches, params)
params[1]
end
|