class MultimediaParadise::StoreAvailableVideoFiles
Constants
- STORE_INTO_THIS_FILE
#¶ ↑
STORE_INTO_THIS_FILE
¶ ↑#¶ ↑
Public Class Methods
[](i = '')
click to toggle source
Public Instance Methods
filter_select_all_videos()
click to toggle source
gather_all_available_videos( from_this_directory = DEPOT_VIDEO )
click to toggle source
input?()
click to toggle source
reset()
click to toggle source
run()
click to toggle source
set_input(i = '')
click to toggle source
store_results()
click to toggle source
#¶ ↑
store_results
¶ ↑
This method will store the results into a .md file.
#¶ ↑
# File lib/multimedia_paradise/video/store_available_video_files.rb, line 93 def store_results ensure_that_the_output_directory_exists # ======================================================================= # # We aggregate the String that has to be saved into the variable # what. This will also include the file-size of the video file # at hand. # ======================================================================= # what = @all_available_videos.map {|entry| "#{entry} # file size: #{File.size(entry)}" } what = what.join(N) into = STORE_INTO_THIS_FILE opnn; e "Now storing into the file at `#{sfile(into)}`." write_what_into(what, into) # ======================================================================= # # Also store silently for my home system: # ======================================================================= # _ = '/home/x/data/personal/video/' if File.directory? _ into = _+File.basename(into) opnn; e "Storing into the file at `#{sfile(into)}` as well." write_what_into(what, into) end end