Class: Rum::Application

Inherits:
Rake::Application
  • Object
show all
Defined in:
lib/rumrunner/application.rb

Overview

Rum main application object. When invoking rum from the command line, a Rum::Application object is created and run.

Constant Summary collapse

DEFAULT_RAKEFILES =

Default names for Rum Runner manifests.

[
  "rumfile",
  "Rumfile",
  "rumfile.rb",
  "Rumfile.rb",
]

Instance Method Summary collapse

Constructor Details

#initializeApplication

Initialize a Rumfile::Application object.


22
23
24
25
26
# File 'lib/rumrunner/application.rb', line 22

def initialize
  super
  @name = "rum"
  @rakefiles = DEFAULT_RAKEFILES.dup
end

Instance Method Details

#init(app_name = "rum", argv = ARGV) ⇒ Object

Initialize the command line parameters and app name.


30
31
32
# File 'lib/rumrunner/application.rb', line 30

def init(app_name="rum", argv = ARGV)
  super "rum", argv
end