Module: WhoIsOnline::Generators::Base

Included in:
ChannelGenerator
Defined in:
lib/generators/who_is_online.rb

Overview

A base module

Instance Method Summary collapse

Instance Method Details

#source_rootObject

Get path for migration template



11
12
13
# File 'lib/generators/who_is_online.rb', line 11

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