Module: FbExif
- Defined in:
- lib/fb_exif.rb,
lib/fb_exif/version.rb
Constant Summary collapse
- VERSION =
"0.1.0"
Class Method Summary collapse
Class Method Details
.start(photo_dir) ⇒ Object
13 14 15 16 17 18 19 20 |
# File 'lib/fb_exif.rb', line 13 def start(photo_dir) @photo_dir = photo_dir albums = Dir.entries(@photo_dir).select {|entry| File.directory? File.join(@photo_dir,entry) and !(entry =='.' || entry == '..') } albums.each do |album| FbExif.process_album(album) end end |