Sha256: d5cd6665f01234468986979d581bcd1cf91fb6c809de3cea57b36631d331c416

Contents?: true

Size: 417 Bytes

Versions: 2

Compression:

Stored size: 417 Bytes

Contents

require "clock_window/version"
require "clock_window/refinements"
require "clock_window/filters"
require "clock_window/oscommand"

module ClockWindow
  class ClockIt
    # As this will get more sophisticated this class is the UI
    def initialize(**kwargs)
      @os_cmd = OScommand.new(**kwargs)
    end

    def active_window
      exe, format = @os_cmd.active_window
      format.call(`#{exe}`)
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
clock_window-0.0.6 lib/clock_window.rb
clock_window-0.0.5 lib/clock_window.rb