Sha256: ae7f5c077f8f8d43eff910258893e4d5a99ffcffcc3412de7daefa3f535071d8
Contents?: true
Size: 338 Bytes
Versions: 3
Compression:
Stored size: 338 Bytes
Contents
# frozen_string_literal: true class Code class Object class Code < Object def initialize(*args, **_kargs, &) raw = args.first.presence || Nothing.new @raw = raw.is_a?(Node) ? raw : Node::Code.new(::Code.parse(raw.to_s)) end def evaluate(...) raw.evaluate(...) end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
code-ruby-1.1.3 | lib/code/object/code.rb |
code-ruby-1.1.1 | lib/code/object/code.rb |
code-ruby-1.1.0 | lib/code/object/code.rb |