Top Level Namespace

Defined Under Namespace

Modules: Deployer, Eh, Packager

Instance Method Summary collapse

Instance Method Details

#trim_url(str) ⇒ Object

helper method to trim url



11
12
13
# File 'lib/helper.rb', line 11

def trim_url(str)
  str.sub(%r{^https?:(//|\\\\)}i, '')
end