How do I process parameters passed into the constructor before they are set?
For example if I have a Fraction class, I want to make sure that it is in lowest terms before being created. In Java, I would put the code to reduce the fraction to lowest terms into the constructor, how would I do this in Kotlin?