You want to refresh then :) I'm still not really used to them, but saves a
bit of indentation.


On Thu, Apr 17, 2014 at 8:05 PM, stuart nelson <notifications@github.com>wrote:

> In lib/migrator.rb:
>
> > +  # like model.
> > +  class Table
> > +    def self.call(model, &block)
> > +      Proc.new do
> > +        model.all.each do |record|
> > +          block.call record
> > +          record.save! if record.changed?
> > +        end
> > +      end
> > +    end
> > +  end
> > +
> > +  # A filter to modify an object attribute.
> > +  class Attribute
> > +    def self.call(attribute, &block)
> > +      Proc.new do |object|
>
> i'm a personal fan of the -> :P
>
> --
> Reply to this email directly or view it on GitHub<https://github.com/prometheus/promdash/pull/141/files#r11759991>
> .
>