Sha256: dfe42d7dd415c95ce142d280695cbeceb48fc6732fdb6862b4bcfe538aae7ea5

Contents?: true

Size: 130 Bytes

Versions: 5

Compression:

Stored size: 130 Bytes

Contents

class File

  alias_method :__size__, :size
  def size
    return lstat.size if OS.windows? && Ruby.jruby?
    __size__
  end

end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
core_extended-0.0.10 lib/core_extended/file.rb
core_extended-0.0.9 lib/core_extended/file.rb
core_extended-0.0.8 lib/core_extended/file.rb
core_extended-0.0.7 lib/core_extended/file.rb
core_extended-0.0.6 lib/core_extended/file.rb