Sha256: c6221066482a8b68860baaadbce3f1b2c09ce547ca659029d50b124f79632e53
Contents?: true
Size: 335 Bytes
Versions: 1
Compression:
Stored size: 335 Bytes
Contents
# frozen_string_literal: true require_relative "implementation" require_relative "utils" module Clipboard module Wsl include Implementation extend self def paste(_ = nil, **) `powershell.exe -Command Get-Clipboard` end def copy(data, **) Utils.popen "clip.exe", data true end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
clipboard-2.0.0 | lib/clipboard/wsl.rb |