Sha256: e490aef339d0db1dfbb2ea34747d7f13bd742148229851093157b75f880c2764

Contents?: true

Size: 235 Bytes

Versions: 5

Compression:

Stored size: 235 Bytes

Contents

module Slate
  module Calculation
    class Last < Base
      name "Last Value"
      description "Returns the last point in each of the targets."

      protected

      def map(points)
        points.last
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
slate-1.1.2 lib/slate/calculation/last.rb
slate-1.1.1 lib/slate/calculation/last.rb
slate-1.1.0 lib/slate/calculation/last.rb
slate-1.0.3 lib/slate/calculation/last.rb
slate-1.0.2 lib/slate/calculation/last.rb