Class: Vkhal::KhalService
- Inherits:
-
Object
- Object
- Vkhal::KhalService
- Defined in:
- lib/vkhal/khal_service.rb
Instance Method Summary collapse
- #import! ⇒ Object
-
#initialize(file:) ⇒ KhalService
constructor
A new instance of KhalService.
Constructor Details
#initialize(file:) ⇒ KhalService
Returns a new instance of KhalService.
3 4 5 |
# File 'lib/vkhal/khal_service.rb', line 3 def initialize(file:) @file = file end |
Instance Method Details
#import! ⇒ Object
7 8 9 |
# File 'lib/vkhal/khal_service.rb', line 7 def import! exec "khal import #{@file}" end |