Class: Mingle::TypeCastError

Inherits:
BitGirderError
  • Object
show all
Defined in:
lib/mingle.rb

Instance Method Summary collapse

Instance Method Details

#to_sObject



2485
2486
2487
2488
2489
# File 'lib/mingle.rb', line 2485

def to_s
    
    res = @path ? "#{@path.format}: " : ""
    res << "Can't cast #@actual to #@expected"
end