Method: Jars::Installer.needs_to_write?

Defined in:
lib/jars/installer.rb

.needs_to_write?(require_filename) ⇒ Boolean

Returns:

  • (Boolean)
[View source]

119
120
121
# File 'lib/jars/installer.rb', line 119

def self.needs_to_write?(require_filename)
  require_filename and (not File.exists?( require_filename ) or File.read( require_filename ).match( COMMENT))
end