Module: Stack::Utils

Defined in:
lib/stack/utils/standard.rb

Class Method Summary collapse

Class Method Details

.to_path(str) ⇒ Object



3
4
5
# File 'lib/stack/utils/standard.rb', line 3

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