Sha256: f845e470bc0346474ec61d37ba9586db5ca8c2fb6481f59b0504758a98acfc14
Contents?: true
Size: 372 Bytes
Versions: 3
Compression:
Stored size: 372 Bytes
Contents
# frozen_string_literal: true module Nocode module Steps module Io class Read < Step option :path, :register def perform data = File.read(path) registers[register_option] = data end private def path File.join(*array(path_option)) end end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
nocode-0.0.3 | lib/nocode/steps/io/read.rb |
nocode-0.0.2 | lib/nocode/steps/io/read.rb |
nocode-0.0.1 | lib/nocode/steps/io/read.rb |