Class: Xmvc::Vendor
- Inherits:
-
Thor
- Object
- Thor
- Xmvc::Vendor
- Defined in:
- lib/xmvc/vendor.rb,
lib/xmvc/vendor/plugin.rb
Defined Under Namespace
Classes: Plugin
Instance Method Summary collapse
-
#initialize(args, options, config) ⇒ Vendor
constructor
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.
Constructor Details
#initialize(args, options, config) ⇒ Vendor
16 17 18 19 |
# File 'lib/xmvc/vendor.rb', line 16 def initialize(args, , config) puts "options: #{}, config: #{config}" say_status("Xmvc::Vendor initialized, load teh config file") end |