Exception: YubiRuby::NoModHexEncodedError

Inherits:
Exception
  • Object
show all
Defined in:
lib/exceptions.rb

Instance Method Summary collapse

Instance Method Details

#inizialize(msg = nil) ⇒ Object



39
40
41
42
43
44
# File 'lib/exceptions.rb', line 39

def inizialize(msg=nil)
  if msg.nil? || msg.empty?
    msg = 'The string provided isn\'t modhex encoded'
  end
  super(msg)
end