lib/tryouts.rb in tryouts-0.8.1 vs lib/tryouts.rb in tryouts-0.8.2
- old
+ new
@@ -32,21 +32,21 @@
# = Exception
# A generic exception which all other Tryouts exceptions inherit from.
class Exception < RuntimeError; end
# = BadDreams
# Raised when there is a problem loading or parsing a Tryouts::Drill::Dream object
- class BadDream < Exception; end
-
- class NoDrillType < Exception
+ class BadDream < Tryouts::Exception; end
+ class TooManyArgs < Tryouts::Exception; end
+ class NoDrillType < Tryouts::Exception
attr_accessor :tname
def initialize(t); @tname = t; end
def message
vdt = Tryouts::Drill.valid_dtypes
"Tryout '#{@tname}' has no drill type. Should be: #{vdt.join(', ')}"
end
end
- VERSION = "0.8.1"
+ VERSION = "0.8.2"
require 'tryouts/mixins'
require 'tryouts/tryout'
require 'tryouts/drill'
require 'tryouts/stats'