Class: GenomerPluginSummary

Inherits:
Genomer::Plugin
  • Object
show all
Defined in:
lib/genomer-plugin-summary.rb

Defined Under Namespace

Modules: Enumerators, Format, Metrics Classes: Contigs, Gaps, Genome, Sequences

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.fetch(name) ⇒ Object



5
6
7
8
# File 'lib/genomer-plugin-summary.rb', line 5

def self.fetch(name)
  require 'genomer-plugin-summary/' + name
  const_get(name.capitalize)
end

Instance Method Details

#runObject



10
11
12
# File 'lib/genomer-plugin-summary.rb', line 10

def run
  self.class.fetch(arguments.shift).new(arguments,flags).run
end