Browse files

removed unneeded detection block error

  • Loading branch information...
1 parent 3e3a044 commit 46de054e7eec8d5ae40b4fecf38385607da2b988 bglusman committed Jan 29, 2012
Showing with 0 additions and 1 deletion.
  1. +0 −1 lib/outlaw/rule.rb
View
1 lib/outlaw/rule.rb
@@ -1,6 +1,5 @@
module Outlaw
class Rule
- NoDetectionBlockProvided = Class.new(StandardError)
attr_reader :message, :pattern, :detection_block
def initialize(pattern, message=nil, &detection_block)
@pattern = pattern

0 comments on commit 46de054

Please sign in to comment.