Sha256: c4a18c21b9dd9325592e54b5e60a9d77c16520ff0f4943fdfd4dcde611bb50ba

Contents?: true

Size: 500 Bytes

Versions: 2

Compression:

Stored size: 500 Bytes

Contents

module SimCtl
  class StatusBar
    def initialize(device)
      @device = device
    end

    # Clear all status bar overrides
    #
    # @return [void]
    def clear
      SimCtl.status_bar_clear(device)
    end

    # Set some status bar overrides
    #
    # @param overrides [SimCtl::StatusBarOverrides] or [Hash] the overrides to apply
    # @return [void]
    def override(overrides)
      SimCtl.status_bar_override(device, overrides)
    end

    private

    attr_reader :device
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
simctl-1.6.10 lib/simctl/status_bar.rb
simctl-1.6.8 lib/simctl/status_bar.rb