Sha256: 46b3528b42bff0cc20a85d25ff63a3c4a77c689f202ac0254ae174f9c5049a59
Contents?: true
Size: 413 Bytes
Versions: 5
Compression:
Stored size: 413 Bytes
Contents
# encoding: utf-8 module Daiku class Plugin def self.plugin_name(name) meta[:name] = name end def self.plugin_type(type) meta[:type] = type end def self.meta @meta = { class: Kernel.const_get(self.name) } if @meta.nil? @meta end def self.cli meta[:class]::CLI end def self.cli_path File.expand_path('../', __FILE__) end end end
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
daiku-0.2.2 | lib/daiku/plugin.rb |
daiku-0.2.1 | lib/daiku/plugin.rb |
daiku-0.2.0 | lib/daiku/plugin.rb |
daiku-0.1.1 | lib/daiku/plugin.rb |
daiku-0.1.0 | lib/daiku/plugin.rb |