Module: Decko

Defined in:
lib/decko/commands/command.rb,
lib/decko.rb,
lib/decko/engine.rb,
lib/decko/swagger.rb,
lib/decko/commands.rb,
lib/decko/response.rb,
lib/decko/application.rb,
lib/decko/rest_spec_helper.rb,
lib/decko/script_decko_loader.rb,
lib/decko/commands/rake_command.rb,
lib/decko/commands/rspec_command.rb,
lib/decko/commands/cucumber_command.rb,
lib/decko/commands/rake_command/parser.rb,
lib/decko/commands/rspec_command/parser.rb,
lib/decko/generators/deck/deck_generator.rb,
lib/decko/commands/cucumber_command/parser.rb,
lib/decko/generators/deck/deck_generator/deck_helper.rb,
lib/decko/generators/deck/deck_generator/interactive.rb,
lib/decko/generators/deck/deck_generator/rails_overrides.rb

Overview

require “pry”

Defined Under Namespace

Modules: Commands, Generators, Response, RestSpecHelper, RestSpecMethods, ScriptDeckoLoader Classes: Application, Engine, Swagger

Constant Summary collapse

DECKO_GEM_ROOT =
File.expand_path("../..", __FILE__)
ModsSpecHelper =
:needs_a_value_so_spring_loader_is_happy

Class Method Summary collapse

Class Method Details

.applicationObject



10
11
12
# File 'lib/decko.rb', line 10

def application
  Rails.application
end

.configObject



14
15
16
# File 'lib/decko.rb', line 14

def config
  application.config
end

.gem_rootObject



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

def gem_root
  DECKO_GEM_ROOT
end

.pathsObject



18
19
20
# File 'lib/decko.rb', line 18

def paths
  application.paths
end

.rootObject



6
7
8
# File 'lib/decko.rb', line 6

def root
  Rails.root
end