Sha256: d8e92aca91a7cbbad3fea35920f9844f291ae32eda4be5a5cc9ec5f837070c73
Contents?: true
Size: 584 Bytes
Versions: 14
Compression:
Stored size: 584 Bytes
Contents
class EcoRake module Sample module Concern module LocalFolder include EcoRake::Sample::Concern::Base class << self def included(base) super(base) base.option '-d', '--folder NAME', default_lookup: :default_local_folder, desc: 'Source local folder' end end module ClassMethods def default_local_folder return '.' unless defined?(self::DEFAULT_LOCAL_FOLDER) self::DEFAULT_LOCAL_FOLDER end end end end end end
Version data entries
14 entries across 14 versions & 1 rubygems