2 ms·Yes: def f(n = 16) n end p f # => 16 p f(nil) # => nilby infraruby 10y agoYes: def f(n = 16) n end p f # => 16 p f(nil) # => nil