Module: Fixnames::FixDir

Defined in:
lib/fixnames/interface.rb

Class Method Summary collapse

Class Method Details

.fix!(*args) ⇒ Object



31
32
33
# File 'lib/fixnames/interface.rb', line 31

def self.fix!(*args)
  parse(*args).fix!
end

.fix_list!(list, *args) ⇒ Object



35
36
37
38
39
# File 'lib/fixnames/interface.rb', line 35

def self.fix_list!(list, *args)
  list.map do |x|
    fix! x, *args
  end
end

.parse(name, optsw) ⇒ Object



27
28
29
# File 'lib/fixnames/interface.rb', line 27

def self.parse(name, optsw)
  Engine::ScanDir.new(name, opts)
end