Method: Solve::Constraint#version

Defined in:
lib/solve/constraint.rb

#versionSemverse::Version (readonly)

Return the Semverse::Version representation of the major, minor, and patch attributes of this instance

Returns:

  • (Semverse::Version)


161
162
163
# File 'lib/solve/constraint.rb', line 161

def version
  @version
end