Skip to content

Commit

Permalink
Remove unused stringify_keys method
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisBAshton committed Jul 24, 2020
1 parent a3f349a commit 9de0136
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions lib/govuk_schemas/utils.rb
Original file line number Diff line number Diff line change
@@ -1,14 +1,6 @@
module GovukSchemas
# @private
module Utils
def self.stringify_keys(hash)
new_hash = {}
hash.each do |k, v|
new_hash[k.to_s] = v
end
new_hash
end

def self.parameterize(string)
string.gsub(/[^a-z0-9\-_]+/i, "-")
end
Expand Down

0 comments on commit 9de0136

Please sign in to comment.