module Yell::Helpers::Level
Public Instance Methods
level()
click to toggle source
@private
# File lib/yell/helpers/level.rb, line 19 def level @__level__ end
level=( severity )
click to toggle source
Set the minimum log level.
@example Set the level to :warn
level = :warn
@param [String, Symbol, Integer] severity The minimum log level
# File lib/yell/helpers/level.rb, line 11 def level=( severity ) @__level__ = case severity when Yell::Level then severity else Yell::Level.new(severity) end end
Private Instance Methods
inspectables()
click to toggle source
Calls superclass method
# File lib/yell/helpers/level.rb, line 32 def inspectables [:level] | super end
reset!()
click to toggle source
Calls superclass method
# File lib/yell/helpers/level.rb, line 26 def reset! @__level__ = Yell::Level.new super end