Exception: CodeModels::NoLanguageRegisteredError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/codemodels/language.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(path) ⇒ NoLanguageRegisteredError

Returns a new instance of NoLanguageRegisteredError.



42
43
44
45
# File 'lib/codemodels/language.rb', line 42

def initialize(path)
	super("No language registered to parse #{path}")
	@path = path
end

Instance Attribute Details

#pathObject (readonly)

Returns the value of attribute path.



40
41
42
# File 'lib/codemodels/language.rb', line 40

def path
  @path
end