Class: Dependabot::Utils::Php::Version
- Inherits:
-
Gem::Version
- Object
- Gem::Version
- Dependabot::Utils::Php::Version
- Defined in:
- lib/dependabot/utils/php/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.
11 12 13 14 |
# File 'lib/dependabot/utils/php/version.rb', line 11 def initialize(version) @version_string = version.to_s super end |
Instance Method Details
#to_s ⇒ Object
16 17 18 |
# File 'lib/dependabot/utils/php/version.rb', line 16 def to_s @version_string end |