Class: String

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

Overview

Hacks which give us “Rakefile”.is_file?

Instance Method Summary collapse

Instance Method Details

#is_file?Boolean

:nodoc:

Returns:

  • (Boolean)


574
575
576
# File 'lib/sake.rb', line 574

def is_file?
  File.exists? self
end