Class: Ressbo::Sink
- Inherits:
-
Object
- Object
- Ressbo::Sink
- Defined in:
- lib/ressbo/sink.rb
Instance Method Summary collapse
-
#initialize ⇒ Sink
constructor
A new instance of Sink.
- #load_from_address_book ⇒ Object
Constructor Details
#initialize ⇒ Sink
Returns a new instance of Sink.
31 32 33 |
# File 'lib/ressbo/sink.rb', line 31 def initialize OSA.utf8_strings = true end |
Instance Method Details
#load_from_address_book ⇒ Object
36 37 38 39 |
# File 'lib/ressbo/sink.rb', line 36 def load_from_address_book abook = OSA.app('Address Book') abook.people.each {|p| Person.from_address_book(p)} end |