Sha256: bed69e591c7f006d29a1ceb41358aecae52bbcd328630f9f382776a5d4b96655

Contents?: true

Size: 244 Bytes

Versions: 52

Compression:

Stored size: 244 Bytes

Contents

module SocialStream
  module Population
    class Timestamps
      attr_reader :created, :updated

      def initialize
        @updated = Time.at(rand(Time.now.to_i))
        @created = Time.at(rand(@updated.to_i))
      end
    end
  end
end

Version data entries

52 entries across 52 versions & 2 rubygems

Version Path
social_stream-1.1.12 base/lib/social_stream/population/timestamps.rb
social_stream-base-1.1.11 lib/social_stream/population/timestamps.rb
social_stream-1.1.11 base/lib/social_stream/population/timestamps.rb
social_stream-base-1.1.10 lib/social_stream/population/timestamps.rb
social_stream-1.1.10 base/lib/social_stream/population/timestamps.rb
social_stream-base-1.1.9 lib/social_stream/population/timestamps.rb
social_stream-1.1.9 base/lib/social_stream/population/timestamps.rb
social_stream-base-1.1.8 lib/social_stream/population/timestamps.rb
social_stream-1.1.8 base/lib/social_stream/population/timestamps.rb
social_stream-base-1.1.7 lib/social_stream/population/timestamps.rb
social_stream-1.1.7 base/lib/social_stream/population/timestamps.rb
social_stream-base-1.1.6 lib/social_stream/population/timestamps.rb
social_stream-1.1.6 base/lib/social_stream/population/timestamps.rb
social_stream-base-1.1.5 lib/social_stream/population/timestamps.rb
social_stream-1.1.5 base/lib/social_stream/population/timestamps.rb
social_stream-base-1.1.4 lib/social_stream/population/timestamps.rb
social_stream-1.1.4 base/lib/social_stream/population/timestamps.rb
social_stream-1.1.3 base/lib/social_stream/population/timestamps.rb
social_stream-base-1.1.3 lib/social_stream/population/timestamps.rb
social_stream-1.1.2 base/lib/social_stream/population/timestamps.rb