examples/example.rb in dircat-0.1.12 vs examples/example.rb in dircat-0.2.0
- old
+ new
@@ -1,10 +1,11 @@
+# -*- coding: utf-8 -*-
$:.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
require 'dircat'
include DirCat
dir = File.join( File.dirname(__FILE__), "..")
-cat = Cat.from_dir( dir )
+cat = CatOnYaml.from_dir( dir )
cat.fmt_report