Sha256: 0a3bec8fe2f2967781be0048a215f3ad7fe88b634fa5c68b57c82d280bb3ea3d
Contents?: true
Size: 257 Bytes
Versions: 7
Compression:
Stored size: 257 Bytes
Contents
module Finitio module Syntax module Expression include Node def compile(var_name) expr = "->(#{var_name}){ #{to_str} }" ::Kernel.eval(expr) end end # module Expression end # module Syntax end # module Finitio
Version data entries
7 entries across 7 versions & 1 rubygems