Top Level Namespace

Defined Under Namespace

Modules: Epuber, Nokogiri Classes: MatchData, Thread

Instance Method Summary collapse

Instance Method Details

#number?(other) ⇒ Boolean

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

Returns:

  • (Boolean)


5
6
7
# File 'lib/epuber/vendor/version.rb', line 5

def number?(other)
  other.is_a?(Numeric) || other.is_a?(Integer) || other.is_a?(Float)
end