Sha256: 1e1657f48ba6f9f49e933256cad84564cd89f3deef99cc194b5e156abdda186c

Contents?: true

Size: 706 Bytes

Versions: 1

Compression:

Stored size: 706 Bytes

Contents

# frozen_string_literal: true

module Roro
  module Configurators
    class StructureBuilder
      attr_reader :structure

      def self.build(override=nil)
        base.merge(override ||= {})
      end

      def self.base
        @structure = {
          actions: [''],
          dependencies: {},
          depends_on: [''],
          env: {
            base: {},
            ci: {},
            development: {},
            staging: {},
            production: {}
          },
          preface: '',
          questions: [
            {
              question: '',
              help: '',
              action: ''
            }
          ],
          success: ''
        }
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
roro-0.3.33 lib/roro/configurators/structure_builder.rb