Sha256: 478c3b0c940b27620b5fefbdf20c569b6bcfbed5fa70fdbe6da83673773702e2
Contents?: true
Size: 331 Bytes
Versions: 12
Compression:
Stored size: 331 Bytes
Contents
module Datacaster class Runner < Base def initialize(&block) raise "Expected block" unless block_given? @run = block end def cast(object, runtime:) Runtimes::Base.(runtime, @run, object) Datacaster.ValidResult(object) end def inspect "#<Datacaster::Runner>" end end end
Version data entries
12 entries across 12 versions & 1 rubygems