Sha256: 7a12731ee9742bc4dfdfb4a6d6cdc876487f965a640874ba47164a124b694087
Contents?: true
Size: 335 Bytes
Versions: 28
Compression:
Stored size: 335 Bytes
Contents
module SimpleDeploy class Template def initialize(args) @file = args[:file] end def parameters parsed_template_contents.fetch('Parameters', {}).keys end private def parsed_template_contents JSON.parse contents end def contents @contents ||= IO.read @file end end end
Version data entries
28 entries across 28 versions & 1 rubygems