Sha256: a7cf86d8dffb60c97af1c3e22a5745aaaf2735b6a061fec5fc39bd30d36fde7f
Contents?: true
Size: 276 Bytes
Versions: 68
Compression:
Stored size: 276 Bytes
Contents
class MasterException < Exception EXCEPTION_MESSAGES = { :no_ip => "Master does not have an ip or has not been launched" } attr_reader :message def initialize(type=:no_ip, note="") @message = "Master Exception: #{EXCEPTION_MESSAGES[type]} #{note}" end end
Version data entries
68 entries across 68 versions & 3 rubygems