jankubr / slides.rb

Powerpoint or Keynote? Ruby! Slides.rb is the ultimate Ruby geek friendly presentation tool.

This URL has Read+Write access

slides.rb / example_presentation.rb
100644 31 lines (27 sloc) 1.558 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
require 'slides'
 
architecture_diagram =<<DIAGRAM
________________________ _______________________________________ _____________________________
| | | | | |
| VOIP provider | | VOIP server | | Something in Ruby |
PSTN <==> | | <======> | | <==========> | |
| Landline number | | call routing, voice mail, conferences | | controls the call logic |
|_________________________| |_______________________________________| |______________________________ |
DIAGRAM
 
 
 
@slides = [
  ['about', ['- Voice apps in Ruby', "\n- Jan Kubr\n"]],
  ['architecture', architecture_diagram],
  ['options', {
              :sip_provider => ["Fayn", "ha-loo", "802.cz"],
              :voip_server => ["Asterisk", "Freeswitch"],
              :something_in_ruby => ["Adhearsion", "Telegraph", "Liverpie", "Freec"]
              }
  ],
  ['thanks', {
              :adhearsion => 'http://adhearsion.com',
              :telegraph => 'http://code.google.com/p/telegraph/',
              :liverpie => 'http://www.liverpie.com',
              :freec => 'http://github.com/jankubr/freec',
              'slides.rb' => ':-)'
             }
  ]
]