Sha256: 7efd8dcab4d030a0a9c9873fb1e87b22876449fec8fd561c1c0d32b50fe3566b

Contents?: true

Size: 319 Bytes

Versions: 2

Compression:

Stored size: 319 Bytes

Contents

require "thor"

module LNCS
  class Actions < Thor
    include Thor::Actions
    
    def initialize(sources, args = [], options = {}, config = {})
      super(args, options, config)
      @source_paths = [sources]
    end
    
    no_commands do
      def source_paths
        @source_paths
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
lncs-0.0.4 lib/lncs/actions.rb
lncs-0.0.3 lib/lncs/actions.rb