Class: Vers::MavenVersion::MavenComponent
- Inherits:
-
Struct
- Object
- Struct
- Vers::MavenVersion::MavenComponent
- Defined in:
- lib/vers/maven_version.rb
Instance Attribute Summary collapse
-
#after_dash ⇒ Object
Returns the value of attribute after_dash.
-
#is_null ⇒ Object
Returns the value of attribute is_null.
-
#is_numeric ⇒ Object
Returns the value of attribute is_numeric.
-
#numeric ⇒ Object
Returns the value of attribute numeric.
-
#qualifier ⇒ Object
Returns the value of attribute qualifier.
Instance Method Summary collapse
-
#initialize(is_numeric: false, numeric: 0, qualifier: "", is_null: false, after_dash: false) ⇒ MavenComponent
constructor
A new instance of MavenComponent.
Constructor Details
#initialize(is_numeric: false, numeric: 0, qualifier: "", is_null: false, after_dash: false) ⇒ MavenComponent
Returns a new instance of MavenComponent.
6 7 8 |
# File 'lib/vers/maven_version.rb', line 6 def initialize(is_numeric: false, numeric: 0, qualifier: "", is_null: false, after_dash: false) super end |
Instance Attribute Details
#after_dash ⇒ Object
Returns the value of attribute after_dash
5 6 7 |
# File 'lib/vers/maven_version.rb', line 5 def after_dash @after_dash end |
#is_null ⇒ Object
Returns the value of attribute is_null
5 6 7 |
# File 'lib/vers/maven_version.rb', line 5 def is_null @is_null end |
#is_numeric ⇒ Object
Returns the value of attribute is_numeric
5 6 7 |
# File 'lib/vers/maven_version.rb', line 5 def is_numeric @is_numeric end |
#numeric ⇒ Object
Returns the value of attribute numeric
5 6 7 |
# File 'lib/vers/maven_version.rb', line 5 def numeric @numeric end |
#qualifier ⇒ Object
Returns the value of attribute qualifier
5 6 7 |
# File 'lib/vers/maven_version.rb', line 5 def qualifier @qualifier end |