Flowdock
method

const_regexp

Importance_1
const_regexp(camel_cased_word) private

Mount a regular expression that will match part by part of the constant.

const_regexp("Foo::Bar::Baz") # => /Foo(::Bar(::Baz)?)?/
const_regexp("::")            # => /::/
Show source
Register or log in to add new notes.