123456789101112131415161718192021 |
- module Chervil::AST
- class Quotation
- attr_reader :value
-
- def initialize(value)
- @value = value
- end
-
- def evaluate(env)
- if @value.is_a?(List)
- @value.elements
- else
- @value
- end
- end
-
- def ==(other)
- @value == other.value
- end
- end
- end
|