The ratio involves the statements of law necessary for the decision. The example is not very helpful, so let me remake the situation.
The applicant wishes to stop his child from eating ice-cream for dinner. The judge looks at the relevant law, and decides that the applicant does not have the legal right to do this. In coming to this decision the judge looked at the Nice Food Act, which stipulates that children have a fundamental right to eat "nice food" at dinner. It so happens that "nice food" is not defined in the act, and so the judge has to also decide if ice-cream is a "nice food". He decides that it is, and so accordingly the child has a right to eat it.
The ratio would be that:
(i) Ice-cream constitutes "nice food" for the purposes of the Nice Food Act.
(ii) Adults cannot prohibit their children from eating ice-cream for dinner.