class Berkshelf::CommunityREST

def version_from_uri(uri)

Returns:
  • (String) -

Parameters:
  • uri (String) --
def version_from_uri(uri)
  File.basename(uri.to_s).tr("_", ".")
end