class Object

Public Instance Methods

is_number(other) click to toggle source

Most of this code is taken from github.com/CocoaPods/Core/blob/master/lib/cocoapods-core/vendor/version.rb

# File lib/epuber/vendor/version.rb, line 5
def is_number(other)
  other.is_a?(Numeric) || other.is_a?(Integer) || other.is_a?(Float)
end