Sha256: 21ad9b7b7caaa3751438c005f036df20aa9d04d86e60a066e2ff20722a695a41
Contents?: true
Size: 540 Bytes
Versions: 16
Compression:
Stored size: 540 Bytes
Contents
class Object # :nodoc:all # Puts a text in the form: # 12:34:56: text here # def timed_exclaim text exclaim "#{Time.now.strftime("%H:%M:%S")}: #{text}" end # Just puts the given text. # 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
Version data entries
16 entries across 16 versions & 1 rubygems