class Simplexframe::CLI
Public Class Methods
source_root()
click to toggle source
# File lib/simplexframe/cli.rb, line 9 def self.source_root File.join File.dirname(__FILE__), 'generators' end
Public Instance Methods
c()
click to toggle source
# File lib/simplexframe/cli.rb, line 30 def c run 'bin/console' end
go()
click to toggle source
# File lib/simplexframe/cli.rb, line 23 def go ARGV.shift puts "rspec #{ARGV.join('')}" if $debug run "rspec #{ARGV.join('')}" end
new()
click to toggle source
# File lib/simplexframe/cli.rb, line 14 def new if app_name directory 'simplexframe', app_name else say 'no app name' end end