Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
cmatthias
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
14 ms
·
121.
▲
by
cmatthias
16y ago
I'm reasonably certain that you cannot copyright the design of a physical product. Apple might be able to patent the design of a phone, especially if its design is novel in some way, but copyright is reserved for "intellectual works" like w
122.
▲
by
cmatthias
17y ago
All excellent points. Sorry if my original comment wasn't clear -- I wasn't trying to say that method_missing is a better way to do it, just that it's a different way to accomplish the same thing.
123.
▲
by
cmatthias
17y ago
Great article, thanks. Another way to do this (and one that Rails makes extensive use of internally) is to override method_missing in your object, which gets called as a "last resort" whenever ruby can't find a method of a particular name.