Class: Crystalline::Generators::Rubocop

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

Class Method Summary collapse

Methods inherited from Generator

generate!, #generate!, #initialize, #path, prefix, #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/rubocop.rb', line 8

def self.command_name
  :rubocop
end

.file_nameObject



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

def self.file_name
  'rubocop.yml'
end

.hidden?Boolean

Returns:

  • (Boolean)


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

def self.hidden?
  true
end