Skip to content

remove old implements #14

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

maito1201
Copy link

I think testrocket is really interesting idea.
But there is some legacy code snippets.
It seems to be left behind in the flow of improvement.

1. remove useless retun value

def _show(r); (TestRocket.out || STDERR) << r + "\n"; r end
That variable "r" was used when testrocket had been started to invent.
But it`s logic is changed, return value is not used now.

2. remove Proc.send

Proc.send :include, TestRocket
now refine and using works enough.
We don't have to load TestRocket module using send method.

@zenspider
Copy link

did you run the tests after removing that "useless" return value?

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.

3 participants