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