Sha256: 759d1df7a45c722db7ba0fd08b707a87b57e25134fe571cdb8b36b02a10f649e

Contents?: true

Size: 413 Bytes

Versions: 232

Compression:

Stored size: 413 Bytes

Contents

class Jets::Stack
  class Output
    module Dsl
      extend ActiveSupport::Concern

      def outputs
        Output.definitions(self.class)
      end

      class_methods do
        def output(*definition)
          # self is subclass is the stack that inherits from Jets::Stack
          # IE: ExampleStack < Jets::Stack
          Output.new(self, *definition).register
        end
      end
    end
  end
end

Version data entries

232 entries across 232 versions & 4 rubygems

Version Path
jets-4.0.7 lib/jets/stack/output/dsl.rb
jets-4.0.6 lib/jets/stack/output/dsl.rb
jets-4.0.5 lib/jets/stack/output/dsl.rb
jets-4.0.4 lib/jets/stack/output/dsl.rb
jets-4.0.3 lib/jets/stack/output/dsl.rb
jets-4.0.2 lib/jets/stack/output/dsl.rb
jets-4.0.1 lib/jets/stack/output/dsl.rb
jets-4.0.0 lib/jets/stack/output/dsl.rb
jets-3.2.2 lib/jets/stack/output/dsl.rb
jets-3.2.1 lib/jets/stack/output/dsl.rb
jets.benforeva-3.0.17.pre.mount.pre.fix lib/jets/stack/output/dsl.rb
jets-3.2.0 lib/jets/stack/output/dsl.rb
jets-3.1.5 lib/jets/stack/output/dsl.rb
jets-3.1.4 lib/jets/stack/output/dsl.rb
jets-3.1.3 lib/jets/stack/output/dsl.rb
jets-3.1.2 lib/jets/stack/output/dsl.rb
jets-3.1.1 lib/jets/stack/output/dsl.rb
jets-3.1.0 lib/jets/stack/output/dsl.rb
jets-3.0.23 lib/jets/stack/output/dsl.rb
jets-3.0.22 lib/jets/stack/output/dsl.rb