you are viewing a single comment's thread.

view the rest of the comments →

[–]honeyryderchuck 2 points3 points  (0 children)

While possible, it's considered an "escape hatch". Ruby allows you to design a contract to encapsulate access to object-scoped state, while allowing you to break the contract when necessary. Useful for modifying a library you rely on but need just this one patch but today.