#!/usr/bin/ruby # variable_scope_.rb x = 5 def print_x puts x end print_x