Sha256: d1ac13b29f22b4d76f21ad8d6e7a5f4cfb20a5ec7889ba04daa1d9110ef4686c
Contents?: true
Size: 258 Bytes
Versions: 15
Compression:
Stored size: 258 Bytes
Contents
class MasterException < 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: #{@messages[type]} #{note}" end end
Version data entries
15 entries across 15 versions & 3 rubygems