lib/picky/extensions/object.rb in picky-1.2.0 vs lib/picky/extensions/object.rb in picky-1.2.1
- old
+ new
@@ -11,6 +11,12 @@
#
def exclaim text
puts text
end
+ # Puts a text that informs the user of a missing gem.
+ #
+ def puts_gem_missing gem_name, message
+ puts "#{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
+
end
\ No newline at end of file