Class: Object

Inherits:
BasicObject
Defined in:
lib/picky-client/extensions/object.rb

Overview

:nodoc:all

Instance Method Summary collapse

Instance Method Details

#warn_gem_missing(gem_name, message) ⇒ Object



6
7
8
# File 'lib/picky-client/extensions/object.rb', line 6

def warn_gem_missing gem_name, message
  warn "#{gem_name} gem missing!\nTo use #{message}, you need to:\n  1. Add the following line to Gemfile:\n     gem '#{gem_name}'\n  2. Then, run:\n     bundle update\n"
end