Class: Stratagem::Model::Containers::Plugin

Inherits:
Base
  • Object
show all
Defined in:
lib/stratagem/model/containers/plugin.rb

Instance Attribute Summary

Attributes inherited from Base

#components, #errors, #invalid, #missing, #parse_trees

Instance Method Summary collapse

Methods inherited from Base

#-, #<<, #clear, #each, #find, #initialize, #map, #size

Constructor Details

This class inherits a constructor from Stratagem::Model::Containers::Base

Instance Method Details

#export(options = nil) ⇒ Object



7
8
9
# File 'lib/stratagem/model/containers/plugin.rb', line 7

def export(options=nil)
  names
end

#namesObject



3
4
5
# File 'lib/stratagem/model/containers/plugin.rb', line 3

def names
  components.map {|plugin| plugin.name }
end