Interface for ruby + kdb