Sha256: 37e9bf65cf5e12006cbade4046b55ad51d8b7f8916bcff8b134992e1e914f051
Contents?: true
Size: 360 Bytes
Versions: 1
Compression:
Stored size: 360 Bytes
Contents
module Flucti module Resources class PortForwarding < BasicResource belongs_to :container def service_name matcher = %r{^(.+?) +#{to}/#{protocol.to_s.downcase}\b} IO.foreach(__FILE__.sub(/\.rb$/, '') + '/services') do |line| return $1.upcase if matcher =~ line end nil end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
Flucti-flucti-cli-0.1.16 | lib/flucti/resources/port_forwarding.rb |