Class: Smartstart::Generators::TypoGenerator

Inherits:
Rails::Generators::Base
  • Object
show all
Includes:
Helpers
Defined in:
lib/generators/smartstart/typo/typo_generator.rb

Instance Method Summary collapse

Methods included from Helpers

#smartstart_path

Instance Method Details

#create_typographyObject



16
17
18
# File 'lib/generators/smartstart/typo/typo_generator.rb', line 16

def create_typography
  copy_file "#{typo_file}", "#{smartstart_path}/#{typo_file}"  
end

#typo_fileObject



12
13
14
# File 'lib/generators/smartstart/typo/typo_generator.rb', line 12

def typo_file
  "typography.sass"
end