Sha256: 5f2160dabd34df942859f00dae8adc18f21e187f1606d2341d3bb555172431ad

Contents?: true

Size: 249 Bytes

Versions: 2

Compression:

Stored size: 249 Bytes

Contents

module TermNote
  class Show
    module Key
      KEYS = %w[j k q]

      def self.j(show)
        show.forward
      end

      def self.k(show)
        show.backward
      end

      def self.q(show)
        show.close
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
termnote-2.0.1 lib/termnote/show/key.rb
termnote-2.0.0 lib/termnote/show/key.rb