Class: Tplot::Plugin

Inherits:
Object
  • Object
show all
Defined in:
lib/tplot/plugin.rb

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(args = []) ⇒ Plugin

Returns a new instance of Plugin.



2
3
4
# File 'lib/tplot/plugin.rb', line 2

def initialize(args = [])
  @args = args
end

Class Method Details

.description(description = "") ⇒ Object



6
7
8
9
10
# File 'lib/tplot/plugin.rb', line 6

def self.description(description = "")
  @@descriptions ||= {}
  @@descriptions[self] = description if !description.nil? and !description.empty?
  @@descriptions[self]
end

.help(help = "") ⇒ Object



12
13
14
15
16
# File 'lib/tplot/plugin.rb', line 12

def self.help(help = "")
  @@help ||= {}
  @@help[self] = help if !help.nil? and !help.empty?
  @@help[self]
end

Instance Method Details

#executeObject



18
19
20
# File 'lib/tplot/plugin.rb', line 18

def execute
  "not implement."
end