Class: Indexmap::Storage::File
- Inherits:
-
Struct
- Object
- Struct
- Indexmap::Storage::File
- Defined in:
- lib/indexmap/storage/file.rb
Instance Attribute Summary collapse
-
#body ⇒ Object
Returns the value of attribute body.
-
#content_type ⇒ Object
Returns the value of attribute content_type.
-
#filename ⇒ Object
Returns the value of attribute filename.
Instance Method Summary collapse
Instance Attribute Details
#body ⇒ Object
Returns the value of attribute body
5 6 7 |
# File 'lib/indexmap/storage/file.rb', line 5 def body @body end |
#content_type ⇒ Object
Returns the value of attribute content_type
5 6 7 |
# File 'lib/indexmap/storage/file.rb', line 5 def content_type @content_type end |
#filename ⇒ Object
Returns the value of attribute filename
5 6 7 |
# File 'lib/indexmap/storage/file.rb', line 5 def filename @filename end |
Instance Method Details
#basename ⇒ Object
6 7 8 |
# File 'lib/indexmap/storage/file.rb', line 6 def basename ::File.basename(filename) end |