Skip to content

Commit

Permalink
Awesful hack for clock/timestamp thingy
Browse files Browse the repository at this point in the history
  • Loading branch information
b committed Aug 31, 2010
1 parent 63ddf14 commit 580b723
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions lib/cassandra/0.7/columns.rb
@@ -1,3 +1,16 @@
# THIS IS FILTHY
module CassandraThrift
class Column
def timestamp
clock.timestamp
end

def timestamp=(ts)
clock.timestamp = ts
end
end
end

class Cassandra
# A bunch of crap, mostly related to introspecting on column types
module Columns #:nodoc:
Expand Down

0 comments on commit 580b723

Please sign in to comment.