A toy dynamic programming language written in Ruby
Du kan inte välja fler än 25 ämnen
Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.
1234567891011 |
- class AST::Conditional
- attr_reader :branches
-
- def initialize(branches)
- @branches = branches
- end
-
- def ==(other)
- other.is_a?(AST::Conditional) && other.branches == @branches
- end
- end
|