require "bundler/gem_tasks" begin require 'rspec/core/rake_task' RSpec::Core::RakeTask.new(:spec) task :default => :spec rescue LoadError end require 'yard' YARD::Rake::YardocTask.new do |t| t.files = ['lib/**/*.rb'] # optional #t.options = ['--any', '--extra', '--opts'] # optional end