Module: Treebis::PathString

Included in:
Task::RunContext
Defined in:
lib/treebis.rb

Instance Method Summary collapse

Instance Method Details

#no_leading_dot_slash(str) ⇒ Object



489
490
491
# File 'lib/treebis.rb', line 489

def no_leading_dot_slash str
  str.sub(/\A\.\//,'')
end