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

Support for use without class extension #27

Open
tom-lord opened this issue Sep 11, 2018 · 0 comments
Open

Support for use without class extension #27

tom-lord opened this issue Sep 11, 2018 · 0 comments

Comments

@tom-lord
Copy link
Owner

It would be nice to offer an option to use this gem without actually adding methods to the Regexp class. Something along the lines of:

require 'regexp-examples/module'

RegexpExamples.examples(/.../)
RegexpExamples.random_example(/.../)

As opposed to the current, "default" behaviour:

require 'regexp-examples'

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

No branches or pull requests

1 participant