Class: ProconBypassMan::ProconDisplay::Status
- Inherits:
-
Object
- Object
- ProconBypassMan::ProconDisplay::Status
- Includes:
- Singleton
- Defined in:
- lib/procon_bypass_man/procon_display/status.rb
Instance Method Summary collapse
- #current ⇒ Hash
-
#current=(value) ⇒ void
NOTE: valueには参照が入ってくるので変更する時はdupすること.
Instance Method Details
#current ⇒ Hash
5 6 7 |
# File 'lib/procon_bypass_man/procon_display/status.rb', line 5 def current @current || {} end |
#current=(value) ⇒ void
This method returns an undefined value.
NOTE: valueには参照が入ってくるので変更する時はdupすること
12 13 14 15 16 17 18 |
# File 'lib/procon_bypass_man/procon_display/status.rb', line 12 def current=(value) if value.is_a?(Hash) @current = value else @current = nil end end |