Class: File
- Inherits:
-
Object
- Object
- File
- Extended by:
- CouchOpen
- Defined in:
- lib/couchio/core_ext/file.rb
Class Method Summary collapse
Methods included from CouchOpen
Class Method Details
.couch_orig_read ⇒ Object
6 |
# File 'lib/couchio/core_ext/file.rb', line 6 alias couch_orig_read read |
.read(filename) ⇒ Object
7 8 9 10 11 12 13 |
# File 'lib/couchio/core_ext/file.rb', line 7 def read(filename) if filename.index("couch://") == 0 CouchDocument.new(filename).read else couch_orig_read end end |