Sha256: 7dfaa4442391ff57631557a4d1375d01e72a538ea12491eb2d4b6a593d93c8a8
Contents?: true
Size: 598 Bytes
Versions: 8
Compression:
Stored size: 598 Bytes
Contents
require 'delegate' module Lotus module Generators # Abstract super class for generators # # @abstract # @since 0.2.0 class Abstract < SimpleDelegator # Initialize a generator # # @param command [Thor] a Thor instance that comes from Lotus::Cli # # @since 0.2.0 # @api private def initialize(command) super(command) end # Start the generator # # @raise [NotImplementedError] # # @abstract # @since 0.2.0 def start raise NotImplementedError end end end end
Version data entries
8 entries across 8 versions & 1 rubygems