class ShikenCLI
Public Instance Methods
hello(name, from=nil)
click to toggle source
# File bin/shiken, line 18 def hello(name, from=nil) puts "from: #{from}" if from puts "Hello #{name}!" end
install(dir='webtests')
click to toggle source
# File bin/shiken, line 32 def install(dir='webtests') source = File.join(__dir__,"..","spec") target = File.join(Dir.pwd, dir) # puts "source = #{source}" puts "creating and populating #{target}" # puts "create complete [#{target}]" FileUtils.copy_entry source, target puts "copy complete" end