Ruby では、オブジェクトを一旦、変数に代入してから関数に渡しても、
直接渡しても同じ

def f( str )
puts str
end

text = "a"
f( text ) #=> a

f( "a" ) #=> a