ruby thought of the day – if you ‘load’ a file that in turn ‘requires’ other files, the rules of *require* apply to the children, not *load*
Tag Archives: ruby
HighLine is great if you are f…
HighLine is great if you are formatting shell:
#!/usr/bin/env ruby
require ‘rubygems’
require ‘highline’
green_yes = hl.color "yes", :green