class FilterRename::Filters::InsertBeforeWord
Public Class Methods
hint()
click to toggle source
# File lib/filter_rename/filters.rb, line 254 def self.hint; 'Insert the WORD after the NTH word'; end
params()
click to toggle source
# File lib/filter_rename/filters.rb, line 255 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 257 def filtered_word(word, params, param_num) [params[1], word].join(ws) end