lib/picky/extensions/object.rb in picky-3.1.13 vs lib/picky/extensions/object.rb in picky-3.2.0
- old
+ new
@@ -14,10 +14,10 @@
end
# Puts a text that informs the user of a missing gem.
#
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"
+ warn "#{gem_name} gem missing!\nTo use #{message}, you need to:\n 1. Add the following line to Gemfile:\n gem '#{gem_name}'\n or\n require '#{gem_name}'\n for example on top of your app.rb/application.rb\n 2. Then, run:\n bundle update\n"
end
# Indents each line by <tt>amount=2</tt> spaces.
#
def indented_to_s amount = 2
\ No newline at end of file