Sha256: c06bcd771c8a767d4714f02b7b6005b989336ae40c42616517a99aceebb2edf9
Contents?: true
Size: 528 Bytes
Versions: 34
Compression:
Stored size: 528 Bytes
Contents
module GroupDocs module Api module Helpers module Path # # Make helper methods accessible as class methods as well # def self.included(klass) klass.extend self end private # # Prepares path. # @param [String] path # @return [String] # @api private # def prepare_path(path) path.sub(%r(^/), '').gsub(%r(//+), '/') end end # Path end # Helpers end # Api end # GroupDocs
Version data entries
34 entries across 34 versions & 1 rubygems