Method: FBO::SegmentedFile#contents_for_type
- Defined in:
- lib/fbo/segmented_file.rb
#contents_for_type(type) ⇒ Object
55 56 57 58 59 |
# File 'lib/fbo/segmented_file.rb', line 55 def contents_for_type(type) return unless type method_name = "#{ type }_contents" self.respond_to?(method_name) ? self.send(method_name) : nil end |