Sha256: f169e18ab9405681f9f95a165dbcd8d21c275ce6c6d45432ad9d74621ad20ab0

Contents?: true

Size: 192 Bytes

Versions: 6

Compression:

Stored size: 192 Bytes

Contents

## Read data from stdin -- Soutaro Matsumoto

def stdin(config, data)
  stdin_data = readlines
  (config || { "input" => "concat" })["input"] == "nothing" ? stdin_data : data + stdin_data
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
yapra-0.2.2 legacy_plugins/stdin.rb
yapra-0.2.0 legacy_plugins/stdin.rb
yapra-0.1.3 legacy_plugins/stdin.rb
yapra-0.1.0 legacy_plugins/stdin.rb
yapra-0.1.1 legacy_plugins/stdin.rb
yapra-0.1.2 legacy_plugins/stdin.rb