Sha256: c854e8c21264ba0ca7cc5b4e15ca1565e904c166b5cfa7cf8675a52936c77f2c
Contents?: true
Size: 330 Bytes
Versions: 2
Compression:
Stored size: 330 Bytes
Contents
# frozen_string_literal: true require 'extra/enum' class MessageLevel < Enum item :TRACE, -1 item :DEBUG, data: 0 item :INFO, data: 1 item :WARNING, data: 2 item :ERROR, data: 3 item :FATAL, data: 4 item :UNKNOWN, data: 5 item_alias :WARN => :WARNING def severity self.data end freeze end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
inat-get-0.8.0.12 | lib/inat/app/config/messagelevel.rb |
inat-get-0.8.0.11 | lib/inat/app/config/messagelevel.rb |