Sha256: e9c7ac0d898a1f69cf5d68f9651a62cd1b1fafefcaea0d4a5ba74725aaaf4791

Contents?: true

Size: 387 Bytes

Versions: 4

Compression:

Stored size: 387 Bytes

Contents

$:.unshift(File.dirname(__FILE__)) unless
  $:.include?(File.dirname(__FILE__)) || $:.include?(File.expand_path(File.dirname(__FILE__)))

module Annotate
  def self.load_tasks
    if File.exists?('Rakefile')
      load 'Rakefile'
      Dir[File.join(File.dirname(__FILE__), 'tasks', '**/*.rake')].each { |rake| load rake }
      return true
    else
      return false
    end
  end
end

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
nofxx-annotate-2.3.0 lib/annotate.rb
nofxx-annotate-2.3.1 lib/annotate.rb
nofxx-annotate-2.3.2 lib/annotate.rb
selleo-annotate-2.3.2 lib/annotate.rb