Exception: ReVolt::InfFileNotFoundError
- Inherits:
-
FileNotFoundError
- Object
- RuntimeError
- RVException
- FileNotFoundError
- ReVolt::InfFileNotFoundError
- Defined in:
- lib/revolt/exceptions.rb
Overview
Thrown if level’s .inf file was not found when needed.
Instance Attribute Summary collapse
-
#level ⇒ Object
readonly
Returns the value of attribute level.
-
#levels ⇒ Object
readonly
Returns the value of attribute levels.
Attributes inherited from FileNotFoundError
Instance Method Summary collapse
-
#initialize(levels, level, inf_file) ⇒ InfFileNotFoundError
constructor
A new instance of InfFileNotFoundError.
Constructor Details
#initialize(levels, level, inf_file) ⇒ InfFileNotFoundError
Returns a new instance of InfFileNotFoundError.
21 22 23 24 |
# File 'lib/revolt/exceptions.rb', line 21 def initialize(levels, level, inf_file) super inf_file @levels, @level = levels, level end |
Instance Attribute Details
#level ⇒ Object (readonly)
Returns the value of attribute level.
20 21 22 |
# File 'lib/revolt/exceptions.rb', line 20 def level @level end |
#levels ⇒ Object (readonly)
Returns the value of attribute levels.
20 21 22 |
# File 'lib/revolt/exceptions.rb', line 20 def levels @levels end |