unless defined? BASE_DIR BASE_DIR = Pathname.new(__FILE__) + '../..' end module Tapicero class <