class Object
Public Instance Methods
Source
# File lib/epuber/vendor/version.rb, line 5 def number?(other) other.is_a?(Numeric) || other.is_a?(Integer) || other.is_a?(Float) end
Most of this code is taken from github.com/CocoaPods/Core/blob/master/lib/cocoapods-core/vendor/version.rb