class BetweenMeals::Changes::Change
Common functionality
Attributes
Public Class Methods
Source
# File lib/between_meals/changes/change.rb, line 43 def self.debug(msg) @@logger&.debug(msg) end
Source
# File lib/between_meals/changes/change.rb, line 39 def self.info(msg) @@logger&.info(msg) end
Public Instance Methods
Source
# File lib/between_meals/changes/change.rb, line 51 def debug(msg) BetweenMeals::Changes::Change.debug(msg) end
Source
# File lib/between_meals/changes/change.rb, line 47 def info(msg) BetweenMeals::Changes::Change.info(msg) end
Source
# File lib/between_meals/changes/change.rb, line 35 def logger=(log) @@logger = log end
People who use us through find() can just pass in logger, for everyone else, here’s a setter