Skip to content

Commit

Permalink
Fix two typos
Browse files Browse the repository at this point in the history
My typo checker :-) found the bugs.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58212 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  • Loading branch information
mame committed Mar 29, 2017
1 parent 31a755e commit e294fba
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion lib/shell/command-processor.rb
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,9 @@ def self.method_added(id)
# include run file.
#
def self.run_config
rc = "~/.rb_shell"
begin
load File.expand_path("~/.rb_shell") if ENV.key?("HOME")
load File.expand_path(rc) if ENV.key?("HOME")
rescue LoadError, Errno::ENOENT
rescue
print "load error: #{rc}\n"
Expand Down
2 changes: 1 addition & 1 deletion lib/shell/filter.rb
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def <(src)
self.input = src
self
else
Shell.Fail Error::CantApplyMethod, "<", to.class
Shell.Fail Error::CantApplyMethod, "<", src.class
end
end

Expand Down

0 comments on commit e294fba

Please sign in to comment.