1 2 3 4 5 6 7 8 9 |
attr_accessor :tweet_id, :sender_id, :raw_text, :sent_at
options.keys.each do |key|
send("=", options[key]) if respond_to?("=")
end
end
end
|
Pastie
Support Pastie
or read my
Pastie << self
blog
1 2 3 4 5 6 7 8 9 |
attr_accessor :tweet_id, :sender_id, :raw_text, :sent_at
options.keys.each do |key|
send("=", options[key]) if respond_to?("=")
end
end
end
|