Class: ProconBypassMan::Bypass::BypassValue
- Inherits:
-
Struct
- Object
- Struct
- ProconBypassMan::Bypass::BypassValue
- Defined in:
- lib/procon_bypass_man/bypass/bypass_value.rb
Instance Attribute Summary collapse
-
#binary ⇒ Object
Returns the value of attribute binary.
Instance Method Summary collapse
Instance Attribute Details
#binary ⇒ Object
Returns the value of attribute binary
1 2 3 |
# File 'lib/procon_bypass_man/bypass/bypass_value.rb', line 1 def binary @binary end |
Instance Method Details
#to_text ⇒ Object
2 3 4 5 |
# File 'lib/procon_bypass_man/bypass/bypass_value.rb', line 2 def to_text return unless binary binary.unpack.first end |