Skip to content

Commit

Permalink
oops
Browse files Browse the repository at this point in the history
  • Loading branch information
karupanerura committed Jun 21, 2015
1 parent 1c89e00 commit 8cd14df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/mRuby.pm
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ sub new {
return $class->_new_with_src($args{src});
}
elsif (exists $args{file}) {
return $class->_new_with_src(@args{qw/file encoding/});
return $class->_new_with_file(@args{qw/file encoding/});
}
else {
Carp::croak('Invalid arguments.');
Expand Down

0 comments on commit 8cd14df

Please sign in to comment.