Class: Vkhal::KhalService

Inherits:
Object
  • Object
show all
Defined in:
lib/vkhal/khal_service.rb

Instance Method Summary collapse

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