Sha256: bedb5a6f84ee7bd2ac7381c252d5848bbcb8734710e195afc5feca93eb00aa53

Contents?: true

Size: 455 Bytes

Versions: 3

Compression:

Stored size: 455 Bytes

Contents

module Dox
  module Printers
    class ResourceGroupPrinter < BasePrinter

      def print(resource_group)
        @output.puts "\n# Group #{resource_group.name}\n\n#{print_desc(resource_group.desc)}\n"

        resource_group.resources.each do |_, resource|
          resource_printer.print(resource)
        end
      end

      private

      def resource_printer
        @resource_printer ||= ResourcePrinter.new(@output)
      end

    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
dox-1.0.0.alpha lib/dox/printers/resource_group_printer.rb
dox-0.0.3 lib/dox/printers/resource_group_printer.rb
dox-0.0.2 lib/dox/printers/resource_group_printer.rb