module WhoIsOnline::Generators::Base
A base module
Public Instance Methods
source_root()
click to toggle source
Get path for migration template
# 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