Class: RSpec::Sinatra::Generators::InitGenerator

Inherits:
Templater::Generator
  • Object
show all
Defined in:
lib/rspec/sinatra/generators.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.source_rootObject



9
10
11
# File 'lib/rspec/sinatra/generators.rb', line 9

def self.source_root
  File.join(File.dirname(__FILE__), 'templates')
end

Instance Method Details

#app_file_pathObject



28
29
30
# File 'lib/rspec/sinatra/generators.rb', line 28

def app_file_path
  app_file
end