Skip to content

Commit

Permalink
Add Config#each_key
Browse files Browse the repository at this point in the history
  • Loading branch information
eagletmt committed Sep 15, 2017
1 parent d0739e7 commit 8da9ddb
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/switch_point/config.rb
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,10 @@ def keys
switch_points.keys
end

def each_key(&block)
switch_points.each_key(&block)
end

private

def assert_valid_config!(config)
Expand Down

0 comments on commit 8da9ddb

Please sign in to comment.