Remove dead code
This commit is contained in:
parent
ac15f13b3c
commit
f82c8c5815
1 changed files with 0 additions and 17 deletions
|
@ -46,23 +46,6 @@ module Mutant
|
|||
|
||||
PATTERN = /\Acode:(?<code>[[:xdigit:]]{1,6})\z/.freeze
|
||||
|
||||
# Test if class handles string
|
||||
#
|
||||
# @param [String] notation
|
||||
#
|
||||
# @return [Filter]
|
||||
# if notation matches pattern
|
||||
#
|
||||
# @return [nil]
|
||||
# otherwise
|
||||
#
|
||||
# @api private
|
||||
#
|
||||
def self.handle(notation)
|
||||
match = PATTERN.match(notation)
|
||||
new(:code, match[:code]) if match
|
||||
end
|
||||
|
||||
# Test for match
|
||||
#
|
||||
# @param [Object] object
|
||||
|
|
Loading…
Add table
Reference in a new issue