aboutsummaryrefslogblamecommitdiffstats
path: root/activesupport/lib/active_support/json/encoders/nil_class.rb
blob: 8c51dba38458ab63ddac864cf20ce17b16b2fce5 (plain) (tree)
1
2
3
4
5
6
              
         
                        

            
   
class NilClass
  private
    def rails_to_json(*)
      'null'
    end
end