# frozen_string_literal: true
require "json"
require "yaml"

# monkey patch String class with a run method

class BasicObject
  def to_json
    self.to_json
  end

  def to_pretty_json
    json = self.to_json
    ::JSON.pretty_generate(::JSON.parse(json))
  end
end # class BasicObject