Sha256: 7a8cc3902ac3063cca97167357371567b2ae72e861ce20484d4f6d6f1a5e66ab
Contents?: true
Size: 454 Bytes
Versions: 11
Compression:
Stored size: 454 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
11 entries across 11 versions & 1 rubygems