peeping_tom 0.1 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/peeping_tom/dsl.rb +3 -3
- metadata +2 -1
data/lib/peeping_tom/dsl.rb
CHANGED
@@ -68,8 +68,8 @@ module PeepingTom
|
|
68
68
|
@channels << channel
|
69
69
|
end
|
70
70
|
|
71
|
-
def site(name, site)
|
72
|
-
PeepingTom.peeper.register(name, site)
|
71
|
+
def site(name, site, opts = {})
|
72
|
+
PeepingTom.peeper.register(name, site, opts)
|
73
73
|
end
|
74
74
|
|
75
75
|
def irc(msg)
|
@@ -80,4 +80,4 @@ module PeepingTom
|
|
80
80
|
PeepingTom::Notifier::Email.notify(msg)
|
81
81
|
end
|
82
82
|
end
|
83
|
-
end
|
83
|
+
end
|