Sha256: 68861b7cffe75ed855c6c7e7251f5d254548280957af8fffcd8dfab2c046b8cf

Contents?: true

Size: 263 Bytes

Versions: 2

Compression:

Stored size: 263 Bytes

Contents

require 'thanos/resources/date'

module Thanos
  module Factory
    class Date
      def initialize(dates)
        @dates = dates
      end

      def build
        @dates.collect do |date|
          Thanos::Date.new(date)
        end
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
thanos-0.6.0 lib/thanos/factories/date.rb
thanos-0.5.0 lib/thanos/factories/date.rb