Class: Crystalline::Generators::SpecHelper

Inherits:
Generator
  • Object
show all
Defined in:
lib/crystalline/generators/spec_helper.rb

Class Method Summary collapse

Methods inherited from Generator

generate!, #generate!, hidden?, #initialize, #path, #template, template_name

Constructor Details

This class inherits a constructor from Crystalline::Generators::Generator

Class Method Details

.command_nameObject



8
9
10
# File 'lib/crystalline/generators/spec_helper.rb', line 8

def self.command_name
  :spec_helper
end

.file_nameObject



4
5
6
# File 'lib/crystalline/generators/spec_helper.rb', line 4

def self.file_name
  'spec_helper.rb'
end

.prefixObject



12
13
14
# File 'lib/crystalline/generators/spec_helper.rb', line 12

def self.prefix
  'spec'
end