Project

General

Profile

« Previous | Next » 

Revision 94a101f4

Added by Michael Moll over 4 years ago

Fixes #29152 - Fix Layout/LeadingCommentSpace cop

View differences:

modules/dhcp_common/record.rb
include Proxy::Validations
def initialize(ip_address, mac_address, subnet, options = {})
@subnet = validate_subnet subnet #options[:subnet]
@ip = validate_ip ip_address #options[:ip]
@mac = validate_mac mac_address #options[:mac]
@subnet = validate_subnet subnet # options[:subnet]
@ip = validate_ip ip_address # options[:ip]
@mac = validate_mac mac_address # options[:mac]
@options = options
end
......
nil
end
#TODO move this away from here, as this suppose to be a generic interface
# TODO move this away from here, as this suppose to be a generic interface
def deleteable?
!!@options[:deleteable]
end

Also available in: Unified diff