Project

General

Profile

« Previous | Next » 

Revision 38deb82d

Added by Michael Moll over 4 years ago

Fixes #29105 - Fix Layout/EmptyLinesAroundModuleBody cop

View differences:

lib/proxy/validations.rb
module Proxy::Validations
MAC_REGEXP_48BIT = /\A([a-f0-9]{1,2}:){5}[a-f0-9]{1,2}\z/i
MAC_REGEXP_64BIT = /\A([a-f0-9]{1,2}:){19}[a-f0-9]{1,2}\z/i
......
raise Proxy::DHCP::Error, "Invalid Record #{record}" unless record.is_a?(Proxy::DHCP::Record)
record
end
end

Also available in: Unified diff