diff --git a/lib/tty/link.rb b/lib/tty/link.rb index a56cec0..0fdad1a 100644 --- a/lib/tty/link.rb +++ b/lib/tty/link.rb @@ -10,7 +10,7 @@ module Link # Raised to signal an error condition # # @api public - class Error < StandardError; end + Error = Class.new(StandardError) # The ANSI escape sequence code #