Sha256: d51017f3dd534141051d751d3fabaf74d01cde80cd62240958631be8a5dd8788
Contents?: true
Size: 442 Bytes
Versions: 1
Compression:
Stored size: 442 Bytes
Contents
class RailsDecorateFactory::SubDecorator < RailsDecorateFactory::Settings def on( request ) @request = request return self end private def method_missing( method_name , *args ) begin @decorator.send( method_name , *args ) rescue super( method_name , *args ) end end def h_this { this: self } end def h_object { o: object } end def h_decorator { d: decorator } end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rails_decorate_factory-0.2.0 | lib/rails_decorate_factory/sub_decorator.rb |