lib/cute_print.rb in cute_print-0.3.0 vs lib/cute_print.rb in cute_print-0.4.0
- old
+ new
@@ -1,26 +1,2 @@
-require_relative "cute_print/configure"
+require_relative "cute_print/core"
require_relative "cute_print/core_ext"
-require_relative "cute_print/default_printer"
-
-# Like Kernel#p, only fancier. For example, this code:
-#
-# require 'cute_print'
-# q { 1 + 2 }
-#
-# prints this to $stderr:
-#
-# (1 + 2) is 3
-module CutePrint
-
- # Configure the library. For example:
- #
- # CutePrint.configure do |c|
- # c.out = $stdout
- # end
- #
- # @yieldparam config [Configure]
- def self.configure(&block)
- Configure.new(DefaultPrinter.printer, &block)
- end
-
-end