Sha256: e56249fa16bef4ec43231dcda5be441aa8aaa90f53126fec7990d2c9087761ed
Contents?: true
Size: 324 Bytes
Versions: 8
Compression:
Stored size: 324 Bytes
Contents
require "cloud_shaped/dsl" require "cloud_shaped/template_builder" require "cloud_shaped/version" module CloudShaped def self.template(&block) TemplateBuilder.new.tap do |builder| if block.arity.zero? builder.instance_eval(&block) else yield builder end end.template end end
Version data entries
8 entries across 8 versions & 1 rubygems