Class: Trifle

Inherits:
Object
  • Object
show all
Includes:
InitializeWithRedis
Defined in:
lib/trifle.rb,
lib/trifle/finder.rb,
lib/trifle/loader.rb,
lib/trifle/version.rb,
lib/trifle/initialize_with_redis.rb

Defined Under Namespace

Modules: InitializeWithRedis Classes: Finder, Loader

Constant Summary collapse

VERSION =
"0.1.1"

Instance Attribute Summary

Attributes included from InitializeWithRedis

#key, #redis

Instance Method Summary collapse

Methods included from InitializeWithRedis

#initialize

Instance Method Details

#find(ip) ⇒ Object



14
15
16
# File 'lib/trifle.rb', line 14

def find ip
  finder.handle ip
end

#load(options = {}) ⇒ Object



10
11
12
# File 'lib/trifle.rb', line 10

def load options = {}
  loader.handle options
end