Adding extensions to a stdlib class in a ruby on rails project
Posted
by Frank
on Stack Overflow
See other posts from Stack Overflow
or by Frank
Published on 2010-06-11T12:18:44Z
Indexed on
2010/06/11
12:23 UTC
Read the original article
Hit count: 329
Hey,
where would I place additions to stdlib classes in a rails project? Let's say something like:
class Date
def foo
'foo'
end
end
I thought about the initializer folder but it somehow felt wrong. Ideas?
© Stack Overflow or respective owner