module StringWithUnpack1

Public Instance Methods

unpack1(fmt) click to toggle source

String#unpack1 was introduced in Ruby 2.4

# File lib/aws/cognito_srp.rb, line 31
def unpack1(fmt)
  unpack(fmt)[0]
end