Rakefile in hanzo-0.4.5 vs Rakefile in hanzo-0.5
- old
+ new
@@ -7,5 +7,15 @@
desc 'Run all specs'
RSpec::Core::RakeTask.new(:spec) do |task|
task.pattern = 'spec/**/*_spec.rb'
end
+
+desc 'Start an IRB session with the gem'
+task :console do
+ $LOAD_PATH.unshift File.expand_path('..', __FILE__)
+ require 'hanzo'
+ require 'irb'
+
+ ARGV.clear
+ IRB.start
+end