# File lib/smart_proxy_pulp_plugin/disk_usage.rb, line 9 def initialize(opts ={}) raise(::Proxy::Error::ConfigurationError, 'Unable to continue - must provide a path.') if opts[:path].nil? @paths_hash = validate_path(path_hash(opts[:path])) @path = @paths_hash.values @size_format = opts[:size] || :kilobyte @size = SIZE[@size_format] @stat = {} find_df get_stat end