Top Level Namespace

Defined Under Namespace

Modules: Eve, Sample Classes: CharlieTest, IO, String

Instance Method Summary collapse

Instance Method Details

#p(filename) ⇒ Object



23
24
25
# File 'lib/eve/io.rb', line 23

def p(filename)
  Pathname.new(filename).realpath.to_s
end

#p?(filename) ⇒ Boolean

Returns:

  • (Boolean)


19
20
21
# File 'lib/eve/io.rb', line 19

def p?(filename)
  File.exists?(filename)  
end