class Rspec::Generators::Base
@private
Public Class Methods
source_root(path = nil)
click to toggle source
# File lib/generators/rspec.rb, line 14 def self.source_root(path = nil) if path @_rspec_source_root = path else @_rspec_source_root ||= File.expand_path(File.join(File.dirname(__FILE__), 'rspec', generator_name, 'templates')) end end