1. Richo Healey
  2. twat

Commits

Richo Healey  committed f178fa9

Require everything, instead of specific names

  • Participants
  • Parent commits 011fe8c
  • Branches spec

Comments (0)

Files changed (1)

File lib/twat.rb

View file
 require 'optparse'
 require 'oauth'
 
-%w[config exceptions argparse actions].each do |filename|
-  require "twat/#{filename}"
+Dir.glob("twat/*").each do |filename|
+  require filename
 end
 
 module Twat