Chervil is a toy Lisp interpreter written in Ruby
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1234567891011121314151617 |
- module Chervil
- class Error
- attr_reader :message
-
- def initialize(message)
- @message = message
- end
-
- def ==(other)
- @message == other.message
- end
-
- def to_s
- "Error: #{@message}"
- end
- end
- end
|