class RubyDep::Logger

TODO: not used, but kept for the sake of SemVer TODO: remove in next major version

Public Class Methods

new(device, prefix) click to toggle source
# File lib/ruby_dep/logger.rb, line 34
def initialize(device, prefix)
  @device = device
  @prefix = prefix
  ::RubyDep.logger.warn("The RubyDep::Logger class is deprecated")
end

Public Instance Methods

notice(msg) click to toggle source
# File lib/ruby_dep/logger.rb, line 44
def notice(msg)
  @device.puts @prefix + msg
end
warning(msg) click to toggle source
# File lib/ruby_dep/logger.rb, line 40
def warning(msg)
  @device.puts @prefix + msg
end