lib/seedling.rb in deathsyn-seedling-0.0.1 vs lib/seedling.rb in deathsyn-seedling-0.0.5

- old
+ new

@@ -1,5 +1,19 @@ +# Copyright (c) 2008-2009 The Rubyists, LLC (effortless systems) <rubyists@rubyists.com> +# Distributed under the terms of the MIT license. +# See the LICENSE file that accompanied this software for the full MIT License text +# require "pathname" -$LOAD_PATH.unshift(Pathname.new(__FILE__).dirname.expand_path.to_s) +require "date" + +class Pathname + def /(other) + join(other.to_s) + end +end + +$LOAD_PATH.unshift((Pathname(__FILE__).dirname).expand_path.to_s) module Seedling + autoload :VERSION, "seedling/version" + ROOT = (Pathname($LOAD_PATH.first)/"..").expand_path unless Seedling.const_defined?("ROOT") + LIBDIR = ROOT/:lib end -require "seedling/version"