Class: PluginPackPlugin

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name, source) ⇒ PluginPackPlugin

Returns a new instance of PluginPackPlugin.



25
26
27
# File 'lib/commands/plugin/plugin_pack.rb', line 25

def initialize(name, source)
  @name, @source = name, source
end

Instance Attribute Details

#nameObject (readonly)

Returns the value of attribute name.



23
24
25
# File 'lib/commands/plugin/plugin_pack.rb', line 23

def name
  @name
end

#sourceObject (readonly)

Returns the value of attribute source.



23
24
25
# File 'lib/commands/plugin/plugin_pack.rb', line 23

def source
  @source
end

Instance Method Details

#to_svn_externalObject



29
30
31
# File 'lib/commands/plugin/plugin_pack.rb', line 29

def to_svn_external
  "#{@name} #{@source}"
end