Class: Tu

Inherits:
Thor
  • Object
show all
Includes:
Thor::Actions
Defined in:
lib/tu.rb,
lib/tu/version.rb

Constant Summary collapse

VERSION =
"0.0.2"

Instance Method Summary collapse

Instance Method Details

#grep(search) ⇒ Object



14
15
16
# File 'lib/tu.rb', line 14

def grep(search)
  run "grep -rs #{search} app config lib spec test features"
end

#versionObject



8
9
10
11
# File 'lib/tu.rb', line 8

def version
  require 'tu/version'
  puts "TU #{Tu::VERSION}"
end