Exception: CodeModels::NoLanguageRegisteredError
- Inherits:
-
StandardError
- Object
- StandardError
- CodeModels::NoLanguageRegisteredError
- Defined in:
- lib/codemodels/language.rb
Instance Attribute Summary collapse
-
#path ⇒ Object
readonly
Returns the value of attribute path.
Instance Method Summary collapse
-
#initialize(path) ⇒ NoLanguageRegisteredError
constructor
A new instance of NoLanguageRegisteredError.
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
#path ⇒ Object (readonly)
Returns the value of attribute path.
40 41 42 |
# File 'lib/codemodels/language.rb', line 40 def path @path end |