Class: LogLevel::Level
- Inherits:
-
Object
- Object
- LogLevel::Level
- Defined in:
- lib/log_level.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize(name) ⇒ Level
constructor
A new instance of Level.
Constructor Details
#initialize(name) ⇒ Level
Returns a new instance of Level.
6 7 8 |
# File 'lib/log_level.rb', line 6 def initialize name @name = name end |
Instance Attribute Details
#name ⇒ Object
Returns the value of attribute name.
4 5 6 |
# File 'lib/log_level.rb', line 4 def name @name end |