Sha256: 4f462c5cafe91982ccb8554f4799df793a7c04650c5e7ddc3ad5676bd6c6eec7
Contents?: true
Size: 323 Bytes
Versions: 29
Compression:
Stored size: 323 Bytes
Contents
# frozen_string_literal: true class Code class Node class Base16 < Node def initialize(parsed) return if parsed.blank? @base_16 = parsed.presence end def evaluate(**_args) @base_16 ? Object::Integer.new(@base_16.to_i(16)) : Object::Nothing.new end end end end
Version data entries
29 entries across 29 versions & 1 rubygems