Sha256: fa7d3e7c343996eb223412c7d4cf4250855f682ff7d469d97e6e38bbec5d4b26
Contents?: true
Size: 450 Bytes
Versions: 14
Compression:
Stored size: 450 Bytes
Contents
require 'thor/group' module Berkshelf # @author Jamie Winsor <jamie@vialstudios.com> class BaseGenerator < Thor::Group class << self def source_root Berkshelf.root.join("generator_files") end end include Thor::Actions def initialize(*args) super(*args) self.shell = Berkshelf.ui end private def target @target ||= Pathname.new(File.expand_path(path)) end end end
Version data entries
14 entries across 14 versions & 1 rubygems