aboutsummaryrefslogblamecommitdiffstats
path: root/activesupport/lib/active_support/json/encoders/regexp.rb
blob: 63ccd7c490e8a35b22513efd14f27f4ead71c95e (plain) (tree)
1
2
3
4
5
6
7
            
                                           

           

                             
   
class Regexp
  def rails_to_json(options = nil) #:nodoc:
    inspect
  end

  alias to_json rails_to_json
end