Class: Regexp

Inherits:
Object show all
Defined in:
lib/active_support/json/encoders/regexp.rb

Instance Method Summary collapse

Instance Method Details

#to_json(options = nil) ⇒ Object

:nodoc:



2
3
4
# File 'lib/active_support/json/encoders/regexp.rb', line 2

def to_json(options = nil) #:nodoc:
  inspect
end