Class: Regexp
- Defined in:
- activesupport/lib/active_support/core_ext/regexp.rb,
activesupport/lib/active_support/core_ext/object/json.rb
Overview
:nodoc:
Instance Method Summary collapse
Instance Method Details
#as_json(options = nil) ⇒ Object
:nodoc:
121 122 123 |
# File 'activesupport/lib/active_support/core_ext/object/json.rb', line 121 def as_json( = nil) #:nodoc: to_s end |
#multiline? ⇒ Boolean
2 3 4 |
# File 'activesupport/lib/active_support/core_ext/regexp.rb', line 2 def multiline? & MULTILINE == MULTILINE end |