Class: Rspec::Generators::Base
- Inherits:
-
Rails::Generators::NamedBase
- Object
- Rails::Generators::NamedBase
- Rspec::Generators::Base
- Defined in:
- lib/generators/rspec.rb
Direct Known Subclasses
ControllerGenerator, HelperGenerator, IntegrationGenerator, MailerGenerator, ModelGenerator, ObserverGenerator, ScaffoldGenerator, ViewGenerator
Class Method Summary collapse
Class Method Details
.source_root ⇒ Object
6 7 8 |
# File 'lib/generators/rspec.rb', line 6 def self.source_root @_rspec_source_root ||= File.(File.join(File.dirname(__FILE__), 'rspec', generator_name, 'templates')) end |