Sha256: 8138c1c81ed302ca9232b14b5d1dbb1217d685d4bd1c8535d0e8a07059040114
Contents?: true
Size: 346 Bytes
Versions: 1
Compression:
Stored size: 346 Bytes
Contents
module Ravensat class InitialNode < Node def &(object) raise TypeError.new("#{object.class} can't be coerced into Ravensat::Node") unless object.is_a? Node object end def |(object) raise TypeError.new("#{object.class} can't be coerced into Ravensat::Node") unless object.is_a? Node object end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ravensat-1.0.8 | lib/ravensat/ast/initial_node.rb |