Class: ConvenientService::Support::Version::NullVersion Private

Inherits:
Object
  • Object
show all
Defined in:
lib/convenient_service/support/version/null_version.rb

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

Instance Method Summary collapse

Instance Method Details

#<(other) ⇒ nil

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Parameters:

  • other (Object)

    Can be any type.

Returns:

  • (nil)


40
41
42
# File 'lib/convenient_service/support/version/null_version.rb', line 40

def <(other)
  nil
end

#<=(other) ⇒ nil

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Parameters:

  • other (Object)

    Can be any type.

Returns:

  • (nil)


48
49
50
# File 'lib/convenient_service/support/version/null_version.rb', line 48

def <=(other)
  nil
end

#<=>(other) ⇒ nil

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Parameters:

  • other (Object)

    Can be any type.

Returns:

  • (nil)


32
33
34
# File 'lib/convenient_service/support/version/null_version.rb', line 32

def <=>(other)
  nil
end

#==(other) ⇒ nil

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Parameters:

  • other (Object)

    Can be any type.

Returns:

  • (nil)


56
57
58
# File 'lib/convenient_service/support/version/null_version.rb', line 56

def ==(other)
  nil
end

#>(other) ⇒ nil

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Parameters:

  • other (Object)

    Can be any type.

Returns:

  • (nil)


64
65
66
# File 'lib/convenient_service/support/version/null_version.rb', line 64

def >(other)
  nil
end

#>=(other) ⇒ nil

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Parameters:

  • other (Object)

    Can be any type.

Returns:

  • (nil)


72
73
74
# File 'lib/convenient_service/support/version/null_version.rb', line 72

def >=(other)
  nil
end

#gem_versionnil

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns:

  • (nil)


24
25
26
# File 'lib/convenient_service/support/version/null_version.rb', line 24

def gem_version
  nil
end

#null_version?Boolean

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns:

  • (Boolean)


17
18
19
# File 'lib/convenient_service/support/version/null_version.rb', line 17

def null_version?
  true
end

#to_sString

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns:

  • (String)


79
80
81
# File 'lib/convenient_service/support/version/null_version.rb', line 79

def to_s
  ""
end