lib/makit/mp/basic_object_mp.rb in makit-0.0.47 vs lib/makit/mp/basic_object_mp.rb in makit-0.0.48
- old
+ new
@@ -1,16 +1,16 @@
-# 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
+# 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