private constant ruby code example Example: ruby constants my_variable = 18 # simple ruby variable MY_CONSTANT = 25 # ruby constant