Sha256: 6cfdc7f4c57f05d6f9caf68b1a2cc6f99f1131b8675a4d56edb8a411af104cbd

Contents?: true

Size: 102 Bytes

Versions: 15

Compression:

Stored size: 102 Bytes

Contents

class File
  def self.blank? file_name
    !(File.file?(file_name) || File.zero?(file_name))
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
code-spec-0.4.0 lib/code_spec/core_ext.rb
code-spec-0.3.0 lib/code_spec/core_ext.rb
code-spec-0.2.11 lib/code_spec/core_ext.rb
code-spec-0.2.9 lib/code_spec/core_ext.rb
code-spec-0.2.8 lib/code_spec/core_ext.rb
code-spec-0.2.7 lib/code_spec/core_ext.rb
code-spec-0.2.6 lib/code_spec/core_ext.rb
code-spec-0.2.5 lib/code_spec/core_ext.rb
code-spec-0.2.4 lib/code_spec/core_ext.rb
code-spec-0.2.3 lib/code_spec/core_ext.rb
code-spec-0.2.2 lib/code_spec/core_ext.rb
code-spec-0.2.1 lib/code_spec/core_ext.rb
code-spec-0.2.0 lib/code_spec/core_ext.rb
code-spec-0.1.3 lib/code_spec/core_ext.rb
code-spec-0.1.2 lib/code_spec/core_ext.rb