Sha256: 83d7713332a01c2877da3fff6c0703b756a7288a536bbbf0a29f847c5ff31beb

Contents?: true

Size: 346 Bytes

Versions: 7

Compression:

Stored size: 346 Bytes

Contents

#!/usr/bin/env ruby

require_relative '../lib/opener/opinion_detector_basic'

# STDIN.tty? returns `false` if data is being piped into the current process.
if STDIN.tty?
  input = nil
else
  input = STDIN.read
end

kernel                  = Opener::OpinionDetectorBasic.new(:args => ARGV)
stdout, stderr, process = kernel.run(input)

puts stdout

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
opener-opinion-detector-basic-1.1.0 bin/opinion-detector-basic
opener-opinion-detector-basic-1.0.8 bin/opinion-detector-basic
opener-opinion-detector-basic-1.0.7 bin/opinion-detector-basic
opener-opinion-detector-basic-1.0.6 bin/opinion-detector-basic
opener-opinion-detector-basic-1.0.5 bin/opinion-detector-basic
opener-opinion-detector-basic-1.0.4 bin/opinion-detector-basic
opener-opinion-detector-basic-1.0.3 bin/opinion-detector-basic