Exception: MissingLanguage

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

Overview

For when an action implementation references language that does not exist.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(action) ⇒ MissingLanguage

Returns a new instance of MissingLanguage.



4973
4974
4975
4976
# File 'lib/inform/parserm.h.rb', line 4973

def initialize(action)
  @action = action
  super("No language defined for action: #{@action}")
end

Instance Attribute Details

#actionObject (readonly)

Returns the value of attribute action.



4971
4972
4973
# File 'lib/inform/parserm.h.rb', line 4971

def action
  @action
end