Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Addressable::URI.encode_component method is not listed in the doc #276

Closed
ykitamura-mdsol opened this issue Nov 14, 2017 · 0 comments · Fixed by #371
Closed

Addressable::URI.encode_component method is not listed in the doc #276

ykitamura-mdsol opened this issue Nov 14, 2017 · 0 comments · Fixed by #371

Comments

@ykitamura-mdsol
Copy link

The Addressable::URI.encode_component method is not listed in the Addressable::URI doc.

It seems this part is preventing the method to be listed:

    class << self
      alias_method :encode_component, :encode_component
    end

I think it should be like this:

    class << self
-     alias_method :encode_component, :encode_component
+     alias_method :escape_component, :encode_component
    end

After making the change and running Yard, the method is listed in the doc:
screen shot 2017-11-14 at 12 42 49 pm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant