Class: Tplot::Plugin

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

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.description(description = "") ⇒ Object



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

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

.help(help = "") ⇒ Object



8
9
10
11
12
# File 'lib/tplot/plugin.rb', line 8

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

Instance Method Details

#executeObject



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

def execute
  "not implement."
end