Skip to content

Commit

Permalink
add FlagProxy#to_hash
Browse files Browse the repository at this point in the history
  • Loading branch information
evanbattaglia committed Nov 30, 2023
1 parent 1e2001f commit 2fb3d0b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions lib/tabry/cli/flag_proxy.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@ def [](key)
nil
end

def to_hash
@hash
end

def slice(*keys)
[keys].flatten.each_with_object({}) do |key, result_hash|
result_hash[key] = self[key]
Expand Down
2 changes: 1 addition & 1 deletion lib/tabry/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module Tabry
VERSION = "0.2.5"
VERSION = "0.2.6"
end

0 comments on commit 2fb3d0b

Please sign in to comment.