Class: File
- Inherits:
-
Object
- Object
- File
- Defined in:
- lib/misc/file_size.rb
Instance Method Summary collapse
-
#size ⇒ Object
for compatibility with StringIO & Tempfile.
Instance Method Details
#size ⇒ Object
for compatibility with StringIO & Tempfile
2 3 4 |
# File 'lib/misc/file_size.rb', line 2 def size # for compatibility with StringIO & Tempfile stat.size end |