Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View treeder's full-sized avatar
🥌

Travis Reeder treeder

🥌
View GitHub Profile
@treeder
treeder / find.rb
Created September 6, 2012 19:00 — forked from jpsilvashy/find()
Snippets from IronCache blog post
def self.find(name)
@name = name
@messages = JSON.parse(settings.ironcache.cache(@name).get('messages').value)
Channel.new(@name, @messages)
end