Class: ProconBypassMan::Bypass::BypassValue

Inherits:
Struct
  • Object
show all
Defined in:
lib/procon_bypass_man/bypass/bypass_value.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#binaryObject

Returns the value of attribute binary

Returns:

  • (Object)

    the current value of binary



1
2
3
# File 'lib/procon_bypass_man/bypass/bypass_value.rb', line 1

def binary
  @binary
end

Instance Method Details

#to_textObject



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