class Biran::ConfigSyntaxError

Public Class Methods

new(msg=nil) click to toggle source
# File lib/biran/exceptions.rb, line 3
def initialize(msg=nil)
  @msg = msg || 'Missing required argument or bad formatting in config file'
  set_backtrace []
end

Public Instance Methods

p_warning() click to toggle source
# File lib/biran/exceptions.rb, line 12
def p_warning
  "Warning: #{@msg}"
end
to_s() click to toggle source
# File lib/biran/exceptions.rb, line 8
def to_s
  @msg
end