Class: Dependabot::Composer::Version
- Inherits:
-
Version
- Object
- Version
- Dependabot::Composer::Version
- Defined in:
- lib/dependabot/composer/version.rb
Instance Method Summary collapse
-
#initialize(version) ⇒ Version
constructor
A new instance of Version.
- #to_s ⇒ Object
Constructor Details
#initialize(version) ⇒ Version
Returns a new instance of Version.
14 15 16 17 |
# File 'lib/dependabot/composer/version.rb', line 14 def initialize(version) @version_string = version.to_s super end |
Instance Method Details
#to_s ⇒ Object
19 20 21 |
# File 'lib/dependabot/composer/version.rb', line 19 def to_s @version_string end |