Sha256: ff146667e92891ec01f458934796262c16afdac12b5b990ac0231c06f6feb461

Contents?: true

Size: 307 Bytes

Versions: 10

Compression:

Stored size: 307 Bytes

Contents

require 'singleton'

class ProconBypassMan::ProconDisplay::Status
  include Singleton

  # @return [Hash]
  def current
    @current || {}
  end

  # @return [void]
  # @param [Hash] value
  def current=(value)
    if value.is_a?(Hash)
      @current = value
    else
      @current = nil
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
procon_bypass_man-0.3.5 lib/procon_bypass_man/procon_display/status.rb
procon_bypass_man-0.3.4 lib/procon_bypass_man/procon_display/status.rb
procon_bypass_man-0.3.3.1 lib/procon_bypass_man/procon_display/status.rb
procon_bypass_man-0.3.3 lib/procon_bypass_man/procon_display/status.rb
procon_bypass_man-0.3.2 lib/procon_bypass_man/procon_display/status.rb
procon_bypass_man-0.3.1 lib/procon_bypass_man/procon_display/status.rb
procon_bypass_man-0.3.0 lib/procon_bypass_man/procon_display/status.rb
procon_bypass_man-0.2.3 lib/procon_bypass_man/procon_display/status.rb
procon_bypass_man-0.2.2 lib/procon_bypass_man/procon_display/status.rb
procon_bypass_man-0.2.1 lib/procon_bypass_man/procon_display/status.rb