lib/lncs/actions.rb in lncs-0.0.2 vs lib/lncs/actions.rb in lncs-0.0.3
- old
+ new
@@ -1,7 +1,18 @@
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
\ No newline at end of file