Sha256: c7dfc975e56aa2d265a3855029d46537bcefa54182968be3e4e70e154d69fea7
Contents?: true
Size: 215 Bytes
Versions: 2
Compression:
Stored size: 215 Bytes
Contents
# frozen_string_literal: false module Gooday class Error < StandardError def initialize(msg = "Gooday Error") super(msg.match?("Gooday Error") ? msg : (+"Gooday Error: ").concat(msg)) end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
gooday-0.1.2 | lib/gooday/errors.rb |
gooday-0.1.1 | lib/gooday/errors.rb |