penchant/lib/penchant/dot_penchant.rb

17 lines
262 B
Ruby
Raw Normal View History

2011-08-31 18:03:48 +00:00
module Penchant
class DotPenchant
class << self
def run(env = nil)
dot_penchant = new
dot_penchant.run(env)
dot_penchant
end
end
def run(env = nil)
instance_eval(File.read('.penchant'))
end
end
end