diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/sisu/v3/hub.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/sisu/v3/hub.rb b/lib/sisu/v3/hub.rb index 67f6913a..ee0b492a 100644 --- a/lib/sisu/v3/hub.rb +++ b/lib/sisu/v3/hub.rb @@ -205,6 +205,9 @@ p "#{__LINE__}:#{__FILE__}" if @opt.act[:maintenance][:set] ==:on @msg,@msgs='',nil @tell=lambda { SiSU_Screen::Ansi.new(@opt.cmd,@msg,"#{@msgs.inspect if @msgs}") } end + def requires(req) + require_relative req + end def actions if @opt.act[:profile][:set]==:on require 'profile' @@ -321,9 +324,6 @@ p "#{__LINE__}:#{__FILE__}" if @opt.act[:maintenance][:set] ==:on retry unless @retry_count > 1 ensure end - end - def requires(req) - require_relative req end def each_file_loop_options @opt.files.each_with_index do |fno,i| |