Class: Plist4r::Application
- Defined in:
- lib/plist4r/application.rb
Instance Methods
Overview
The Plist4r Application Object. Instantiated for command-line mode
Constructor Details
- (Application) initialize(*args, &blk)
A new instance of Application
10 11 12 13 14 15 16 |
# File 'lib/plist4r/application.rb', line 10 def initialize *args, &blk @cli = Plist4r::CLI.new Plist4r::Config[:args] = @cli.parse @commands = Plist4r::Commands.new @commands.run end |