Class: Spree::SandboxGenerator

Inherits:
DummyGenerator
  • Object
show all
Defined in:
lib/generators/spree/sandbox/sandbox_generator.rb

Constant Summary

Constants inherited from DummyGenerator

DummyGenerator::PASSTHROUGH_OPTIONS

Instance Attribute Summary

Attributes inherited from DummyGenerator

#database, #lib_name

Class Method Summary collapse

Methods inherited from DummyGenerator

#clean_up, #generate_test_dummy, #test_dummy_clean, #test_dummy_config

Class Method Details

.source_pathsObject



9
10
11
12
13
# File 'lib/generators/spree/sandbox/sandbox_generator.rb', line 9

def self.source_paths
  paths = self.superclass.source_paths
  paths.unshift File.expand_path('../templates', __FILE__)
  paths.flatten
end