Module: Fried::Test::Rake
- Defined in:
- lib/fried/test/rake.rb
Class Method Summary collapse
Class Method Details
.included(klass) ⇒ Object
6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
# File 'lib/fried/test/rake.rb', line 6 def self.included(klass) klass.class_eval do include ::Rake::DSL end task :test do lib = File.("../../../", __FILE__) $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) require "fried/test" Fried::Test::CLI.() end end |