Sha256: 67a58bc3089fee054fa9103b5cf5c89399a9d7d7544cb13794342475b2788dcb

Contents?: true

Size: 107 Bytes

Versions: 3

Compression:

Stored size: 107 Bytes

Contents

module Stack
  module Utils
    def self.to_path(str)
      "#{self.gsub(/[\/]+$/, '')}/"
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
stack-0.0.9 lib/stack/utils/standard.rb
stack-0.0.8 lib/stack/utils/standard.rb
stack-0.0.7 lib/stack/utils/standard.rb