Module: Wagn
- Defined in:
- lib/wagn.rb,
lib/wagn/commands.rb,
lib/wagn/response.rb,
lib/wagn/exceptions.rb,
lib/wagn/application.rb,
lib/wagn/commands/command.rb,
lib/wagn/script_wagn_loader.rb,
lib/wagn/commands/rake_command.rb,
lib/wagn/commands/rspec_command.rb,
lib/wagn/commands/cucumber_command.rb,
lib/wagn/commands/rake_command/parser.rb,
lib/wagn/commands/rspec_command/parser.rb,
lib/wagn/commands/cucumber_command/parser.rb
Defined Under Namespace
Modules: Commands, Response, ScriptWagnLoader
Classes: Application, BadAddress
Constant Summary
collapse
- WAGN_GEM_ROOT =
File.expand_path("../..", __FILE__)
Class Method Summary
collapse
Class Method Details
.application ⇒ Object
10
11
12
|
# File 'lib/wagn.rb', line 10
def application
Rails.application
end
|
.card_gem_root ⇒ Object
26
27
28
|
# File 'lib/wagn.rb', line 26
def card_gem_root
@card_gem_root ||= locate_gem "card"
end
|
.config ⇒ Object
14
15
16
|
# File 'lib/wagn.rb', line 14
def config
application.config
end
|
.gem_root ⇒ Object
22
23
24
|
# File 'lib/wagn.rb', line 22
def gem_root
WAGN_GEM_ROOT
end
|
.paths ⇒ Object
18
19
20
|
# File 'lib/wagn.rb', line 18
def paths
application.paths
end
|
.root ⇒ Object
6
7
8
|
# File 'lib/wagn.rb', line 6
def root
Rails.root
end
|