class Apollo::Formatter::JsonFormatter

Public Class Methods

format(obj) click to toggle source
# File lib/apollo_crawler/formatter/json_formatter.rb, line 36
def self.format(obj)
         return JSON.pretty_generate(obj)
end

Public Instance Methods

format(obj) click to toggle source
# File lib/apollo_crawler/formatter/json_formatter.rb, line 32
def format(obj)
        return JsonFormatter.format(obj)
end
name() click to toggle source
# File lib/apollo_crawler/formatter/json_formatter.rb, line 28
def name()
        return "JSON"
end