class TalStyle::InstallGenerator

Public Class Methods

source_root() click to toggle source
# File lib/generators/tal_style/install_generator.rb, line 6
def self.source_root
  @source_root ||= File.expand_path(File.join(File.dirname(__FILE__), 'templates'))
end

Public Instance Methods

create_root_reek_yml() click to toggle source
# File lib/generators/tal_style/install_generator.rb, line 10
def create_root_reek_yml
  template "reek", ".reek", force: true
end
create_root_rubocop() click to toggle source
# File lib/generators/tal_style/install_generator.rb, line 14
def create_root_rubocop
  template "rubocop.yml", ".rubocop.yml", force: true
end