Sha256: 231ea716213436104ad63250af2486bb468a8afd9641efb3f4ff1f388ad0b934

Contents?: true

Size: 412 Bytes

Versions: 3

Compression:

Stored size: 412 Bytes

Contents

module Polyfill
  module V2_4
    module File
      module Class
        module EmptyQ
          module Method
            def empty?(file_name)
              zero?(file_name)
            end
          end

          refine ::File.singleton_class do
            include Method
          end

          def self.included(base)
            base.include Method
          end
        end
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
polyfill-0.6.0 lib/polyfill/v2_4/file/class/empty_q.rb
polyfill-0.5.0 lib/polyfill/v2_4/file/class/empty_q.rb
polyfill-0.4.0 lib/polyfill/v2_4/file/class/empty_q.rb