Module: Ampt

Defined in:
lib/ampt.rb,
lib/ampt_api/acoustics.rb

Defined Under Namespace

Modules: API, User Classes: Command, Config, InvalidCommand, Song, Status

Constant Summary collapse

VERSION =
'0.2.2'

Class Method Summary collapse

Class Method Details

.init(args = ARGV, *a, &b) ⇒ Object

The typical entry point for an Ampt app. Configures a new instance of ampt using the specified block, and runs that configuration.



21
22
23
24
# File 'lib/ampt.rb', line 21

def self.init args = ARGV, *a, &b
    c = Config.new(*a, &b)
    c.run(args)
end