require "pathname" $LOAD_PATH.unshift(File.expand_path("../", __FILE__)) # Allows for pathnames to be easily added to class Pathname def /(other) join(other.to_s) end end # <%= @options[:summary] %> module <%= @options[:lib_name] %> autoload :VERSION, "<%= @options[:lib_name_u] %>/version" ROOT = Pathname($LOAD_PATH.first) unless <%= @options[:lib_name] %>.const_defined?("ROOT") LIBDIR = ROOT/:lib unless <%= @options[:lib_name] %>.const_defined?("LIBDIR") end