Exception: Inform::Parser::Ambiguous

Inherits:
StandardError
  • Object
show all
Defined in:
lib/inform/parserm.h.rb

Overview

The Ambiguous error class

Direct Known Subclasses

IncompleteSentence

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(context) ⇒ Ambiguous

Returns a new instance of Ambiguous.



4938
4939
4940
4941
# File 'lib/inform/parserm.h.rb', line 4938

def initialize(context)
  @context = context
  super()
end

Instance Attribute Details

#contextObject (readonly)

Returns the value of attribute context.



4936
4937
4938
# File 'lib/inform/parserm.h.rb', line 4936

def context
  @context
end