class Rspec::Generators::Base
@private
def self.source_root(path = nil)
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
def module_namespacing
def module_namespacing yield if block_given? end