Here is the example:
def container(number=:FIXME)
"bottles"
end
Excerpt From: Sandi Metz, Katrina Owen. “99 Bottles of OOP.” iBooks.
Here is the example:
def container(number=:FIXME)
"bottles"
end
Excerpt From: Sandi Metz, Katrina Owen. “99 Bottles of OOP.” iBooks.
It is not a constant, it is a Symbol object.
FIXME = 1
FIXME.class
#=> Fixnum
Object.const_defined?('FIXME')
#=> true
:FIXME.class
#=> Symbol