class String

Public Instance Methods

as_path() click to toggle source
# File lib/crudboy/ext/string.rb, line 14
def as_path
  File.join(*(split(/\W/)))
end
expa() click to toggle source
# File lib/crudboy/ext/string.rb, line 6
def expa
  File.expand_path(self)
end
f() click to toggle source
# File lib/crudboy/ext/string.rb, line 10
def f
  expa
end
p() click to toggle source
# File lib/crudboy/ext/string.rb, line 2
def p
  puts self
end