Class: Array

Inherits:
Object
  • Object
show all
Defined in:
lib/version/ext/array.rb

Instance Method Summary collapse

Instance Method Details

#to_versionObject

Converts the Array into a version number.



7
8
9
# File 'lib/version/ext/array.rb', line 7

def to_version
  Version.new *self
end