Skip to content

Commit

Permalink
テストを通した
Browse files Browse the repository at this point in the history
  • Loading branch information
pasberth committed Nov 21, 2011
1 parent 1e809ef commit fb4f331
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/endlessruby/extensions.rb
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def require path
is_that_dir = false
($LOAD_PATH | $:).each do |load_path|
real_path = File.join load_path, path
unless File.exist? real_path
if !File.exist?(real_path) || File.directory?(real_path)
if File.exist? "#{real_path}.er"
real_path = "#{real_path}.er"
else
Expand Down
2 changes: 1 addition & 1 deletion src/endlessruby/extensions.er
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ module Kernel
is_that_dir = false
($LOAD_PATH | $:).each do |load_path|
real_path = File.join load_path, path
unless File.exist? real_path
if !File.exist?(real_path) || File.directory?(real_path)
if File.exist? "#{real_path}.er"
real_path = "#{real_path}.er"
else
Expand Down

0 comments on commit fb4f331

Please sign in to comment.