2019-04-23 09:41:04 -07:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2019-04-20 23:56:55 +02:00
|
|
|
module Cask
|
|
|
|
class DSL
|
|
|
|
class Version < ::String
|
|
|
|
module Compat
|
|
|
|
def dots_to_slashes
|
2019-11-06 14:31:03 +00:00
|
|
|
odisabled "#dots_to_slashes"
|
2019-04-20 23:56:55 +02:00
|
|
|
end
|
|
|
|
|
|
|
|
def hyphens_to_slashes
|
2019-11-06 14:31:03 +00:00
|
|
|
odisabled "#hyphens_to_slashes"
|
2019-04-20 23:56:55 +02:00
|
|
|
end
|
|
|
|
|
|
|
|
def underscores_to_slashes
|
2019-11-06 14:31:03 +00:00
|
|
|
odisabled "#underscores_to_slashes"
|
2019-04-20 23:56:55 +02:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
prepend Compat
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|