Class: PluginPackPlugin
- Inherits:
-
Object
- Object
- PluginPackPlugin
- Defined in:
- lib/commands/plugin/plugin_pack.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#source ⇒ Object
readonly
Returns the value of attribute source.
Instance Method Summary collapse
-
#initialize(name, source) ⇒ PluginPackPlugin
constructor
A new instance of PluginPackPlugin.
- #to_svn_external ⇒ Object
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
#name ⇒ Object (readonly)
Returns the value of attribute name.
23 24 25 |
# File 'lib/commands/plugin/plugin_pack.rb', line 23 def name @name end |
#source ⇒ Object (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_external ⇒ Object
29 30 31 |
# File 'lib/commands/plugin/plugin_pack.rb', line 29 def to_svn_external "#{@name} #{@source}" end |