Ruby: sikulix.rb small refactoring

Code simplified. Some comments added.