Skip to content

Commit

Permalink
Adding console task to start an irb session.
Browse files Browse the repository at this point in the history
  • Loading branch information
janfri authored and Evan Weaver committed Apr 14, 2011
1 parent 6111919 commit 1d889fe
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions lib/echoe.rb
Expand Up @@ -782,6 +782,12 @@ def define_tasks
end
task :rcov => :coverage
end

# Irb console
desc 'Start an irb session and load the library.'
task :console do
exec "irb -I lib -r #{name}"
end
end
end

Expand Down

0 comments on commit 1d889fe

Please sign in to comment.