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)


529
530
531
# File 'lib/sake.rb', line 529

def is_file?
  File.exists? self
end