Class: String

Inherits:
Object
  • Object
show all
Defined in:
lib/versionub.rb

Instance Method Summary collapse

Instance Method Details

#to_version(type = :standard) ⇒ Object



41
42
43
# File 'lib/versionub.rb', line 41

def to_version (type=:standard)
  Versionub.parse(self, type)
end