Sha256: 62233e614318cf7c408d922c3e4f1084cad6d5d52c1d59bf2f84883d1572b23a
Contents?: true
Size: 792 Bytes
Versions: 5
Compression:
Stored size: 792 Bytes
Contents
require 'rubygems' require 'rake' require 'bundler' Bundler::GemHelper.install_tasks desc 'Run all tests by default' task :default do system("rspec spec") end desc 'Run if you want to hear all types of Talks.say' task :all do require File.expand_path('../lib/talks.rb', __FILE__) Talks.voices.each do |v| p v Talks.say 'Tests start', :voice => v end p 'say `say`' Talks.say 'say' p 'info `say again`' Talks.info 'say again' p 'warn `I warn you`' Talks.warn 'I warn you' p 'error `This is how error sounds`' Talks.error 'This is how error sounds' p 'success `This is success!`' Talks.success 'This is success!' p 'info `default`' Talks.info p 'warn `default`' Talks.warn p 'warn `error`' Talks.error p 'warn `success`' Talks.success end
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
talks-0.4.1 | Rakefile |
talks-0.4.0 | Rakefile |
talks-0.3.1 | Rakefile |
talks-0.3.0 | Rakefile |
talks-0.2.0 | Rakefile |