class FilterRename::Filters::AppendToWord
Public Class Methods
hint()
click to toggle source
# File lib/filter_rename/filters.rb, line 107 def self.hint; 'Append the TEXT to the NTH word'; end
params()
click to toggle source
# File lib/filter_rename/filters.rb, line 108 def self.params; 'NTH,TEXT'; end
Public Instance Methods
filtered_word(word, params, param_num)
click to toggle source
# File lib/filter_rename/filters.rb, line 110 def filtered_word(word, params, param_num) word + params[1] end