$LOAD_PATH.unshift(File.dirname(__FILE__)) module Xmvc class Vendor < Thor autoload :Plugin, 'vendor/plugin' #CONFIG_PATH = File.join(ROOT, "vendor.yml") #ROOT = File.dirname(__FILE__) #class << self # def config(root) # @config ||= YAML.load(File.read(File.join(root, "vendor.yml", ))).to_mash # end #end def initialize(args, options, config) puts "options: #{options}, config: #{config}" say_status("Xmvc::Vendor initialized, load teh config file") end end end