Sha256: dd2b8b6f9c1513c8161db9debc5e895f06e53476f21094c765ef5a5d34a7f233

Contents?: true

Size: 251 Bytes

Versions: 1

Compression:

Stored size: 251 Bytes

Contents

class Boom::Platform
  class Darwin < Base
    def copy_command
      'pbcopy'
    end

    def open item
      system("#{open_command} '#{item.url.gsub("\'","'\\\\''")}'")
      item.value
    end

    def open_command
      "open"
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
kaboom-0.3.3 lib/kaboom/platform/darwin.rb