Class: JarDownload::PomXML
- Inherits:
-
Object
- Object
- JarDownload::PomXML
- Defined in:
- lib/jar_download.rb
Instance Attribute Summary collapse
-
#group_id ⇒ Object
Returns the value of attribute group_id.
-
#jar_name ⇒ Object
Returns the value of attribute jar_name.
-
#version ⇒ Object
Returns the value of attribute version.
Instance Method Summary collapse
-
#initialize(jar_info = {}) ⇒ PomXML
constructor
A new instance of PomXML.
Constructor Details
#initialize(jar_info = {}) ⇒ PomXML
Returns a new instance of PomXML.
10 11 12 |
# File 'lib/jar_download.rb', line 10 def initialize(jar_info = {}) @group_id, @jar_name, @version = jar_info[:group_id], jar_info[:jar_name], jar_info[:version] end |
Instance Attribute Details
#group_id ⇒ Object
Returns the value of attribute group_id.
8 9 10 |
# File 'lib/jar_download.rb', line 8 def group_id @group_id end |
#jar_name ⇒ Object
Returns the value of attribute jar_name.
8 9 10 |
# File 'lib/jar_download.rb', line 8 def jar_name @jar_name end |
#version ⇒ Object
Returns the value of attribute version.
8 9 10 |
# File 'lib/jar_download.rb', line 8 def version @version end |