lib/buschtelefon/gossip.rb in buschtelefon-0.2.0 vs lib/buschtelefon/gossip.rb in buschtelefon-0.3.0

- old
+ new

@@ -1,20 +1,14 @@ module Buschtelefon class Gossip attr_reader :created_at, :message def initialize(message) - @created_at = unix_timestamp_ms + @created_at = Time.now.to_f @message = message end def ==(other) @message == other.message - end - - private - - def unix_timestamp_ms - (Time.now.to_f * 1000).to_i end end end