class UnexpectedInput

Attributes

expected[R]
subject[R]

Public Class Methods

new(handler) click to toggle source
# File lib/expects/error.rb, line 4
def initialize(handler)
  @handler = handler
  @subject, @expected = handler.subject, handler.objects
end

Public Instance Methods

message() click to toggle source
# File lib/expects/error.rb, line 9
def message
  @message ||= @handler.build_message
end