class GuardJest::InstallGenerator
Public Class Methods
source_root()
click to toggle source
# File lib/generators/guard_jest/install_generator.rb, line 7 def self.source_root @source_root ||= File.join(File.dirname(__FILE__), 'templates') end
Public Instance Methods
install()
click to toggle source
Generator Code. Remember this is just suped-up Thor so methods are executed in order
# File lib/generators/guard_jest/install_generator.rb, line 12 def install template 'Guardfile' end