class FilterRename::Filters::AppendWordTo
Public Class Methods
hint()
click to toggle source
# File lib/filter_rename/filters.rb, line 129 def self.hint; 'Append the NTH word to TARGET'; end
params()
click to toggle source
# File lib/filter_rename/filters.rb, line 130 def self.params; 'NTH,TARGET'; end
Public Instance Methods
filtered_word(word, params, param_num)
click to toggle source
# File lib/filter_rename/filters.rb, line 132 def filtered_word(word, params, param_num) set_string([get_string(params[1]), word].join(ws), params[1]) word end