Skip to content

Commit

Permalink
loading rubygems, looksee and wirble automatically for irb
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanb committed Aug 4, 2009
1 parent a396e3f commit 5cd99df
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions irbrc
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,13 @@ IRB.conf[:PROMPT_MODE] = :SIMPLE

IRB.conf[:AUTO_INDENT] = true

%w[rubygems looksee/shortcuts wirble].each do |gem|
begin
require gem
rescue LoadError
end
end

class Object
# list methods which aren't in superclass
def local_methods(obj = self)
Expand Down

0 comments on commit 5cd99df

Please sign in to comment.