Module: Doing::WWID::WWIDUtil
- Included in:
- Doing::WWID
- Defined in:
- lib/doing/wwid/wwidutil.rb
Overview
Util methods for WWID class
Instance Method Summary collapse
-
#changes ⇒ Hash
Return a hash of changes between initial file read and current Items object.
-
#configure(filename = nil) ⇒ Object
Load configuration files and updated the @settings attribute with a Doing::Configuration object.
-
#dedup(items, no_overlap: false) ⇒ Object
Remove items from an array that already exist in.
-
#get_diff(filename = nil) ⇒ Object
Get difference between current content and last backup.
-
#import(paths, opt) ⇒ Object
Imports external entries.
Instance Method Details
#changes ⇒ Hash
Return a hash of changes between initial file read and current Items object
#configure(filename = nil) ⇒ Object
Load configuration files and updated the @settings attribute with a Doing::Configuration object
#dedup(items, no_overlap: false) ⇒ Object
Remove items from an array that already exist in
#get_diff(filename = nil) ⇒ Object
Get difference between current content and last backup
#import(paths, opt) ⇒ Object
Imports external entries