Class: String

Inherits:
Object
  • Object
show all
Defined in:
lib/buffer/core.rb

Instance Method Summary collapse

Instance Method Details

#remove_leading_slashObject


71
72
73
# File 'lib/buffer/core.rb', line 71

def remove_leading_slash
  gsub(/^\//, '')
end