Sha256: 8a2787796e90c0e01d5322c009f2df51bd19593b9983e6784f1b13525999c10c

Contents?: true

Size: 436 Bytes

Versions: 1

Compression:

Stored size: 436 Bytes

Contents

module TermuxRubyApi
  module SubSystems
    class Clipboard < TermuxRubyApi::SubSystems::Base
      # Stores `value` in the Android system clipboard
      # @param value [String]
      def set(value)
        owner.api_command('clipboard-set', value)
      end

      # Gets the contents of the Android system clipboard
      # @return value [String]
      def get
        owner.api_command('clipboard-get')
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
termux_ruby_api-0.1.0 lib/termux_ruby_api/sub_systems/clipboard.rb