Sha256: 67f59cad1039d39663ab86a45976a7aa5baa398a2da3da850c52cddfa09cb4c8

Contents?: true

Size: 480 Bytes

Versions: 2

Compression:

Stored size: 480 Bytes

Contents

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

Version data entries

2 entries across 2 versions & 2 rubygems

Version Path
deathsyn-seedling-0.0.5 lib/templates/core/lib/library.rb.seed
seedling-0.0.5 lib/templates/core/lib/library.rb.seed