Sha256: af2ffa113dc4ad63c936dbb81c65142e124bc430bc4821a15e5085b519c6f023
Contents?: true
Size: 289 Bytes
Versions: 12
Compression:
Stored size: 289 Bytes
Contents
class Code class Node class Base8Number < Node def initialize(number) @number = number end def evaluate(**args) ::Code::Object::Integer.new(number) end private def number @number.to_s.to_i(8) end end end end
Version data entries
12 entries across 12 versions & 2 rubygems