On Tue, Aug 13, 2013 at 06:58:42PM -0400, Matt Jones wrote:
On Aug 12, 2013, at 7:25 PM, Amiel Martin wrote:
I like this idea and I would use it.
My only suggestion would be to normally return a new instance of the proxy
object. This makes it easier to use this feature with
On Aug 12, 2013, at 7:25 PM, Amiel Martin wrote:
I like this idea and I would use it.
My only suggestion would be to normally return a new instance of the proxy
object. This makes it easier to use this feature with immutable objects.
I know it would be possible to do this:
class
Hello guys!
I'd like to propose new feature for ActiveSupport Module's delegate method.
I've actually implemented it already and i want your opinion on this
matter. Recently during my work hours, i was writing enumerable
proxy-object to encapsulate some business-logic and i wanted it to mimic
I like this idea and I would use it.
My only suggestion would be to normally return a new instance of the proxy
object. This makes it easier to use this feature with immutable objects.
I know it would be possible to do this:
class ProxyContainer Struct.new(:brands)
delegate :select, to:
These types of APIs are typically referred to as Fluent Interfaces, so
adopting that nomenclature seems appropriate.
On Mon, Aug 12, 2013 at 4:25 PM, Amiel Martin am...@carnesmedia.com wrote:
I like this idea and I would use it.
My only suggestion would be to normally return a new instance