aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/json/encoders/nil_class.rb
blob: b7b63e26d5cd636fdab66f3e8f31bf89f9ee183d (plain) (blame)
1
2
3
4
5
class NilClass
  def rails_to_json(options = nil) #:nodoc:
    'null'
  end
end