Sha256: b45ced5f865e7514076c7076ad72cf03004840447e527f533888d0b68d2d1a0c

Contents?: true

Size: 166 Bytes

Versions: 8

Compression:

Stored size: 166 Bytes

Contents

module Memo
  class OS
    def exec(cmd) = system(cmd)

    def write(path, text)
      ::File.open(path, "w") do |f|
        f.puts text
      end
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
ememo-0.2.1 lib/memo/os/os.rb
ememo-0.1.8 lib/memo/os/os.rb
ememo-0.1.7 lib/memo/os/os.rb
ememo-0.1.6 lib/memo/os/os.rb
ememo-0.1.5 lib/memo/os/os.rb
ememo-0.1.4 lib/memo/os/os.rb
ememo-0.1.3 lib/memo/os/os.rb
ememo-0.1.2 lib/memo/os/os.rb