module TweetyBird::Helpers
Mixins for DBum's Thor subclasses.
Public Instance Methods
actions()
click to toggle source
Shortcut for Thor::Actions.
# File lib/tweety_bird/helpers.rb, line 25 def actions ; Thor::Actions end
puts(*args)
click to toggle source
Monkeypatch puts to support Thor::Shell::Color.
# File lib/tweety_bird/helpers.rb, line 14 def puts *args return old_puts if args.empty? old_puts shell.set_color(*args) end
Also aliased as: old_puts
util()
click to toggle source
Shortcut for Thor::Util.
# File lib/tweety_bird/helpers.rb, line 21 def util ; Thor::Util end