diff options
| author | Ralph Amissah <ralph@amissah.com> | 2012-05-28 04:08:45 -0400 | 
|---|---|---|
| committer | Ralph Amissah <ralph@amissah.com> | 2012-05-28 04:08:45 -0400 | 
| commit | 23a905352884b1177ecd90c730ca67bc74e882d2 (patch) | |
| tree | 8888fd1ac6985724a9c3159387c7ddcba41bb59c /lib | |
| parent | v3: code headers mainly copyright (diff) | |
v3: hub, "requires", fix
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| | 
