Class: INat::App::Config::MessageLevel

Inherits:
Enum
  • Object
show all
Defined in:
lib/inat/app/config/messagelevel.rb

Instance Attribute Summary

Attributes inherited from Enum

#data, #description, #name, #order

Instance Method Summary collapse

Methods inherited from Enum

#<=>, [], aliases, ddl, each, from_db, get, #initialize, #inspect, #intern, item, item_alias, items, old_parse, parse, #pred, #succ, to_a, #to_db, to_h, #to_i, #to_query, #to_s, values

Constructor Details

This class inherits a constructor from Enum

Instance Method Details

#severityObject



19
20
21
# File 'lib/inat/app/config/messagelevel.rb', line 19

def severity
  self.data
end