Skip to content

Support for use without class extension #27

Open
@tom-lord

Description

@tom-lord

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

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions