Exception: Factorio::NoMODError
- Inherits:
-
StandardError
- Object
- StandardError
- Factorio::NoMODError
- Defined in:
- lib/factorio/mod/exception.rb
Overview
The Exception for can’t find MOD
Instance Attribute Summary collapse
-
#io ⇒ Object
readonly
Returns the value of attribute io.
Instance Method Summary collapse
-
#initialize(msg, io) ⇒ NoMODError
constructor
A new instance of NoMODError.
Constructor Details
#initialize(msg, io) ⇒ NoMODError
Returns a new instance of NoMODError.
5 6 7 8 |
# File 'lib/factorio/mod/exception.rb', line 5 def initialize(msg, io) @io = io super(msg) end |
Instance Attribute Details
#io ⇒ Object (readonly)
Returns the value of attribute io.
4 5 6 |
# File 'lib/factorio/mod/exception.rb', line 4 def io @io end |