Created
February 24, 2016 17:03
-
-
Save rupurt/09ec8f3f9ac9c4e6e180 to your computer and use it in GitHub Desktop.
Processing groups spike
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| module FileType | |
| 2 module ProcessingGroup | |
| 3 Box = [PDF, Word, Powerpoint] | |
| 4 Video = [Video] | |
| 5 end | |
| 6 | |
| 7 module ViewingGroup | |
| 8 Document = [PDF, Word] | |
| 9 Presentation = [PDF, Powerpoint] | |
| 10 Video = [Video] | |
| 11 end | |
| 12 | |
| 13 Word = FileType::Group.new( | |
| 14 extensions: %w( | |
| 15 doc | |
| 16 docx | |
| 17 ), | |
| 18 mimetypes: [ | |
| 19 "application/msword", | |
| 20 "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | |
| 21 ] | |
| 22 ) | |
| 23 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment