Sha256: 82225118ae5a9942f283f3a4d9888250fa106e8627ed60c6012d05a7b006a3e9

Contents?: true

Size: 162 Bytes

Versions: 82

Compression:

Stored size: 162 Bytes

Contents

class Exception
    def desc
        "#{self.class}: #{ message }\n#{ backtrace&.join "\n" }"
    end
    def puts_stderr
        STDERR.puts e.desc
    end
end

Version data entries

82 entries across 82 versions & 1 rubygems

Version Path
dns_one-0.5.22 lib/dns_one/core_ext/exception.rb
dns_one-0.5.21 lib/dns_one/core_ext/exception.rb
dns_one-0.5.20 lib/dns_one/core_ext/exception.rb
dns_one-0.5.19 lib/dns_one/core_ext/exception.rb
dns_one-0.5.18 lib/dns_one/core_ext/exception.rb
dns_one-0.5.17 lib/dns_one/core_ext/exception.rb
dns_one-0.5.16 lib/dns_one/core_ext/exception.rb
dns_one-0.5.15 lib/dns_one/core_ext/exception.rb
dns_one-0.5.14 lib/dns_one/core_ext/exception.rb
dns_one-0.5.13 lib/dns_one/core_ext/exception.rb
dns_one-0.5.12 lib/dns_one/core_ext/exception.rb
dns_one-0.5.11 lib/dns_one/core_ext/exception.rb
dns_one-0.5.10 lib/dns_one/core_ext/exception.rb
dns_one-0.5.9 lib/dns_one/core_ext/exception.rb
dns_one-0.5.8 lib/dns_one/core_ext/exception.rb
dns_one-0.5.7 lib/dns_one/core_ext/exception.rb
dns_one-0.5.6 lib/dns_one/core_ext/exception.rb
dns_one-0.5.5 lib/dns_one/core_ext/exception.rb
dns_one-0.5.4 lib/dns_one/core_ext/exception.rb
dns_one-0.5.3 lib/dns_one/core_ext/exception.rb