It's possible to store code blocks within variables, using the lambda method
print_parameter_to_screen = lambda { |x| puts x } print_parameter_to_screen.call(100)