Sha256: bfc5607cc6ef38ffcd911cb5ca37adef43e6afedcbb156335e1888f58063cbf8

Contents?: true

Size: 184 Bytes

Versions: 41

Compression:

Stored size: 184 Bytes

Contents

command = 'sw_vers'
output = ''
IO.popen(command) do |io|
  while io.gets()
    output << $_
  end
end

p output

#p output2 << system "sw_vers"

input = File.read('hoge.txt')
p input

Version data entries

41 entries across 41 versions & 1 rubygems

Version Path
qiita_org-0.1.41 tests/hoge.rb
qiita_org-0.1.40 tests/hoge.rb
qiita_org-0.1.39 tests/hoge.rb
qiita_org-0.1.38 tests/hoge.rb
qiita_org-0.1.37 tests/hoge.rb
qiita_org-0.1.35 tests/hoge.rb
qiita_org-0.1.34 tests/hoge.rb
qiita_org-0.1.33 tests/hoge.rb
qiita_org-0.1.32 tests/hoge.rb
qiita_org-0.1.31 tests/hoge.rb
qiita_org-0.1.30 tests/hoge.rb
qiita_org-0.1.29 tests/hoge.rb
qiita_org-0.1.28 tests/hoge.rb
qiita_org-0.1.27 tests/hoge.rb
qiita_org-0.1.26 tests/hoge.rb
qiita_org-0.1.25 tests/hoge.rb
qiita_org-0.1.24 tests/hoge.rb
qiita_org-0.1.23 tests/hoge.rb
qiita_org-0.1.22 tests/hoge.rb
qiita_org-0.1.21 tests/hoge.rb