Module: RFlow::Components::File::Extensions::FileExtension
- Defined in:
- lib/rflow/components/file/extensions.rb
Overview
Need to be careful when extending to not clobber data already in data_object
Class Method Summary collapse
Class Method Details
.extended(base_data) ⇒ Object
7 8 9 10 11 12 |
# File 'lib/rflow/components/file/extensions.rb', line 7 def self.extended(base_data) base_data.data_object ||= { 'path' => '/', 'size' => 0, 'content' => '', 'creation_timestamp' => nil, 'modification_timestamp' => nil, 'access_timestamp' => nil } end |