Class: Cucumber::Sinatra::Generators::InitGenerator

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

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.source_rootObject



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

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

Instance Method Details

#app_file_pathObject



29
30
31
# File 'lib/cucumber/sinatra/generators.rb', line 29

def app_file_path
  app_file
end