Sha256: 94d2b722eacfd507f1cf1392a0357daa31774c5474875b171e515ef00086e8c2

Contents?: true

Size: 371 Bytes

Versions: 7

Compression:

Stored size: 371 Bytes

Contents

class ProconBypassMan::ProconDisplay::Status
  include Singleton

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

  # @return [void]
  # @param [Hash] value
  # NOTE: valueには参照が入ってくるので変更する時はdupすること
  def current=(value)
    if value.is_a?(Hash)
      @current = value
    else
      @current = nil
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
procon_bypass_man-0.3.12 lib/procon_bypass_man/procon_display/status.rb
procon_bypass_man-0.3.11 lib/procon_bypass_man/procon_display/status.rb
procon_bypass_man-0.3.10 lib/procon_bypass_man/procon_display/status.rb
procon_bypass_man-0.3.9 lib/procon_bypass_man/procon_display/status.rb
procon_bypass_man-0.3.8.1 lib/procon_bypass_man/procon_display/status.rb
procon_bypass_man-0.3.8 lib/procon_bypass_man/procon_display/status.rb
procon_bypass_man-0.3.7 lib/procon_bypass_man/procon_display/status.rb