Class: OpenDal::Entry
- Inherits:
-
Object
- Object
- OpenDal::Entry
- Defined in:
- lib/opendal_ruby/entry.rb
Instance Method Summary collapse
- #inspect ⇒ Object
-
#to_h ⇒ Hash
Returns the canonical data about an entry.
Instance Method Details
#inspect ⇒ Object
31 32 33 |
# File 'lib/opendal_ruby/entry.rb', line 31 def inspect "#<#{self.class.name} path: \"#{path}\", metadata: #{.inspect}>" end |
#to_h ⇒ Hash
Returns the canonical data about an entry
24 25 26 27 28 29 |
# File 'lib/opendal_ruby/entry.rb', line 24 def to_h { path: path, metadata: } end |