Do you prefer
p = Pathaname.new('.').realpath
or
p = (Pathname.new '.').realpath?
Do you prefer
p = Pathaname.new('.').realpath
or
p = (Pathname.new '.').realpath?
Tags: ruby, syntax
Posted in General | 1 Comment »
Intrepid Blog is proudly powered by
WordPress
Entries (RSS)
and Comments (RSS).