lib/masticate/base.rb in masticate-0.2.1 vs lib/masticate/base.rb in masticate-0.2.2
- old
+ new
@@ -4,10 +4,10 @@
attr_reader :input_count, :output_count
attr_reader :csv_options
def initialize(args)
case args
- when String
+ when String, nil
@filename = args
when Hash
configure(args)
else
raise "invalid initialization: #{args}"