metasploit-framework/lib/active_support/json/encoders/false_class.rb

8 lines
140 B
Ruby
Raw Normal View History

class FalseClass
AS_JSON = ActiveSupport::JSON::Variable.new('false').freeze
def as_json(options = nil) #:nodoc:
AS_JSON
end
end