Exception: Loca::Error::Base
- Inherits:
-
StandardError
- Object
- StandardError
- Loca::Error::Base
- Defined in:
- lib/loca/error.rb
Instance Method Summary collapse
-
#initialize(message) ⇒ Base
constructor
A new instance of Base.
Constructor Details
#initialize(message) ⇒ Base
Returns a new instance of Base.
6 7 8 9 10 |
# File 'lib/loca/error.rb', line 6 def initialize() # To get the message in red $stderr.puts .red @message = end |