class Coppertone::Mechanism::IP4

Implements the ip4 mechanism.

Public Class Methods

label() click to toggle source
# File lib/coppertone/mechanism/ip4.rb, line 11
def self.label
  'ip4'
end

Public Instance Methods

ip_for_match(macro_context) click to toggle source
# File lib/coppertone/mechanism/ip4.rb, line 7
def ip_for_match(macro_context)
  macro_context.ip_v4
end