lib/beerdb/cli/opts.rb in beerdb-1.0.0 vs lib/beerdb/cli/opts.rb in beerdb-1.0.1
- old
+ new
@@ -7,11 +7,10 @@
@db_name = options[:dbname] if options[:dbname].present?
@verbose = true if options[:verbose] == true
@data_path = options[:include] if options[:include].present?
- @world_data_path = options[:worldinclude] if options[:worldinclude].present?
end
def verbose=(boolean) # add: alias for debug ??
@verbose = boolean
@@ -36,13 +35,9 @@
@data_path = value
end
def data_path
@data_path || '.'
- end
-
- def world_data_path
- @world_data_path # NB: option has no default; return nil
end
end # class Opts
end # module BeerDb