Module: WiserChat::Generators::Base

Included in:
MigrationGenerator
Defined in:
lib/generators/wiser_chat.rb

Instance Method Summary collapse

Instance Method Details

#source_rootObject

Get path for migration template


7
8
9
# File 'lib/generators/wiser_chat.rb', line 7

def source_root
  @_wiser_chat_source_root ||= File.expand_path(File.join('../wiser_chat', generator_name, 'templates'), __FILE__)
end