class FilterRename::Filters::InsertAfterWord
Public Class Methods
hint()
click to toggle source
# File lib/filter_rename/filters.rb, line 244 def self.hint; 'Insert the WORD after the NTH word'; end
params()
click to toggle source
# File lib/filter_rename/filters.rb, line 245 def self.params; 'NTH,WORD'; end
Public Instance Methods
filtered_word(word, params, param_num)
click to toggle source
# File lib/filter_rename/filters.rb, line 247 def filtered_word(word, params, param_num) [word, params[1]].join(ws) end