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

new inspect that outputs ruby code #8

Closed
wants to merge 2 commits into from
Closed

new inspect that outputs ruby code #8

wants to merge 2 commits into from

Conversation

rubydesign
Copy link
Contributor

ok second try. to_sexp as was and new inspect.
sorry for misunderstanding before

@@ -211,7 +211,33 @@ def to_sexp(indent=0)

sexp
end
alias :inspect :to_sexp
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should become alias :to_s :to_sexp.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

to_s is defined, so i did't want to touch that
figured you can easily do that line if you want it. That change hasn't really got anything to do with the inspect changing.

@whitequark
Copy link
Owner

By the way, you don't have to recreate pull requests. Any commits you add or replace in your branch will be picked up by GitHub.

@rubydesign
Copy link
Contributor Author

btw, thanks, i did know. But i had changed the tests beyond recognition, so it was easier to start fresh

@whitequark
Copy link
Owner

Merged in 84da266.

@whitequark whitequark closed this Sep 21, 2015
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 this pull request may close these issues.

2 participants