module Putter::InstanceFollower
Public Instance Methods
new(*args, &blk)
click to toggle source
Calls superclass method
# File lib/putter/instance_follower.rb, line 5 def new(*args, &blk) result = super *args, &blk @@putter_followed_instances << result ::Putter.follow(result, label: "#{name} instance #{@@putter_followed_instances.count}") end