module MeatSauce

require ‘pry’

Constants

VERSION

Public Class Methods

load_thorfiles(dir) click to toggle source

一旦なしよ

# File lib/meat_sauce.rb, line 7
def self.load_thorfiles(dir)
  Dir.chdir(dir) do
    thor_files = Dir.glob('**/*.thor').delete_if { |x| not File.file?(x) }
    thor_files.each do |f|
      Thor::Util.load_thorfile(f)
    end
  end
end