You can actually do this in one line, because it's a built in function in Ruby and you're only accepting two arguments:
base**multiplier