Exception: Tryouts::NoDrillType
- Defined in:
- lib/tryouts.rb
Instance Attribute Summary collapse
-
#tname ⇒ Object
Returns the value of attribute tname.
Instance Method Summary collapse
-
#initialize(t) ⇒ NoDrillType
constructor
A new instance of NoDrillType.
- #message ⇒ Object
Constructor Details
#initialize(t) ⇒ NoDrillType
Returns a new instance of NoDrillType.
41 |
# File 'lib/tryouts.rb', line 41 def initialize(t); @tname = t; end |
Instance Attribute Details
#tname ⇒ Object
Returns the value of attribute tname.
40 41 42 |
# File 'lib/tryouts.rb', line 40 def tname @tname end |
Instance Method Details
#message ⇒ Object
42 43 44 45 |
# File 'lib/tryouts.rb', line 42 def vdt = Tryouts::Drill.valid_dtypes "Tryout '#{@tname}' has no drill type. Should be: #{vdt.join(', ')}" end |