diff options
author | seki <seki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-11-19 18:30:18 +0000 |
---|---|---|
committer | seki <seki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-11-19 18:30:18 +0000 |
commit | 6591e380169e85e7764150e3a93722ca990ee05d (patch) | |
tree | 0bde2c4e556f097c722acb105260e716918190fb /lib/drb/acl.rb | |
parent | 44b6b031bac42734d567b3adfefcaa80011fb039 (diff) | |
download | ruby-6591e380169e85e7764150e3a93722ca990ee05d.tar.gz |
merged from ruby_1_8 branch.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13975 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/drb/acl.rb')
-rw-r--r-- | lib/drb/acl.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/drb/acl.rb b/lib/drb/acl.rb index aa86dbe70f..861c8a514d 100644 --- a/lib/drb/acl.rb +++ b/lib/drb/acl.rb @@ -13,6 +13,8 @@ class ACL def initialize(str) if str == '*' or str == 'all' @pat = [:all] + elsif str.include?('*') + @pat = [:name, dot_pat(str)] else begin @pat = [:ip, IPAddr.new(str)] |