Skip to content

Commit

Permalink
Merge pull request #37878 from kamipo/nodoc_internal_methods
Browse files Browse the repository at this point in the history
Hide internal utility methods in the public API doc [ci skip]
  • Loading branch information
kamipo committed Dec 4, 2019
2 parents d204b51 + 4b501bd commit 5c4afb6
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -363,11 +363,11 @@ def to_hash
end

private
def convert_key(key) # :doc:
def convert_key(key)
key.kind_of?(Symbol) ? key.to_s : key
end

def convert_value(value, conversion: nil) # :doc:
def convert_value(value, conversion: nil)
if value.is_a? Hash
if conversion == :to_hash
value.to_hash
Expand All @@ -384,7 +384,7 @@ def convert_value(value, conversion: nil) # :doc:
end
end

def set_defaults(target) # :doc:
def set_defaults(target)
if default_proc
target.default_proc = default_proc.dup
else
Expand Down

0 comments on commit 5c4afb6

Please sign in to comment.