aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/json/encoders/regexp.rb
blob: b6116b70b57c29b9484105b5f135cfe20eedb61a (plain) (blame)
1
2
3
4
5
class Regexp
  def to_json(options = nil) #:nodoc:
    inspect
  end
end