module Boom
Command
is the main point of entry for boom commands; shell arguments are passed through to Command
, which then filters and parses through individual commands and reroutes them to constituent object classes.
Command
also keeps track of one connection to Storage
, which is how new data changes are persisted to disk. It takes care of any data changes by calling Boom::Command#save.
The representation of the base unit in boom. An Item
contains just a name and a value. It doesn't know its parent relationship explicitly; the parent List
object instead knows which Items it contains.
The List
contains many Items. They exist as buckets in which to categorize individual Items. The relationship is maintained in a simple array on the List-level.
Platform
is a centralized point to shell out platform specific functionality like clipboard access or commands to open URLs.
Clipboard is a centralized point to shell out to each individual platform's clipboard, pasteboard, or whatever they decide to call it.
Storage
is the interface between multiple Backends. You can use Storage
directly without having to worry about which Backend is in use.
Constants
- VERSION
Public Class Methods
# File lib/boom.rb, line 25 def self.storage @storage ||= Storage.new end