Skip to content

Commit 07767cd

Browse files
committed
1 parent b2d6458 commit 07767cd

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

lib/rex/parser/ini.rb

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -49,14 +49,7 @@ def initialize(path = nil)
4949
end
5050
end
5151

52-
#
53-
# Enumerates the groups hash keys.
54-
#
55-
def each_group(&block)
56-
self.keys.each { |k|
57-
yield
58-
}
59-
end
52+
alias each_group each_key
6053

6154
#
6255
# Adds a group of the supplied name if it doesn't already exist.

0 commit comments

Comments
 (0)