Sha256: ed5c7cde0b61b2b98a1cbdf95c48e7d240193d9755c62387147b4f9b43e39b7a
Contents?: true
Size: 434 Bytes
Versions: 2
Compression:
Stored size: 434 Bytes
Contents
require 'clouddns/actions/print_record' module Clouddns module Actions class Print < GenericAction include PrintRecord def run print_all end protected def print_all puts "Zone '#{@zone.name}'" namelength = @zone.records.map{ |x| x.name.length }.max @zone.records.each do |record| print_record record, namelength end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
clouddns-0.0.2 | lib/clouddns/actions/print.rb |
clouddns-0.0.1 | lib/clouddns/actions/print.rb |