class Athena::Formats::DirectionMismatchError
Public Class Methods
new(direction, directions)
click to toggle source
# File lib/athena/formats.rb 432 def initialize(direction, directions) 433 @direction, @directions = direction, directions 434 end
Public Instance Methods
to_s()
click to toggle source
# File lib/athena/formats.rb 436 def to_s 437 "got #{@direction.inspect}, expected one of " << 438 @directions.map { |d| d.inspect }.join(', ') 439 end