Sha256: 1164d76f45bb5c2734e03677c8b830ef21ed7f40b9e9c3441f44e534b2c7a1e8
Contents?: true
Size: 375 Bytes
Versions: 24
Compression:
Stored size: 375 Bytes
Contents
require 'pathname' module PuppetMagnum class BaseGenerator < Thor::Group include Thor::Actions include Thor::Shell argument :path, type: :string, required: true def self.source_root PuppetMagnum.root.join('generator_files') end private def target @target ||= Pathname.new(File.expand_path(path)) end end end
Version data entries
24 entries across 24 versions & 1 rubygems