examples/test.rb in str2duck-1.2.0 vs examples/test.rb in str2duck-1.3.0
- old
+ new
@@ -1,4 +1,11 @@
require_relative "../lib/str2duck"
+puts 123.duck.class
+puts ["hello","world"].duck.class
+puts '{"hello":"world"}'.duck.class
+puts "hello: world".duck.class,"","---"
+
+
Str2Duck::Config.yaml = false
-puts Str2Duck::Config.list
+puts Str2Duck::Config.list,"","---"
+puts "hello: world".duck.class