Sha256: 0b338c10c6d57db2754a485bc2e8223a4530648aad672a3cce0e06ed524108db
Contents?: true
Size: 437 Bytes
Versions: 2
Compression:
Stored size: 437 Bytes
Contents
$:.unshift(File.dirname(__FILE__)) unless $:.include?(File.dirname(__FILE__)) || $:.include?(File.expand_path(File.dirname(__FILE__))) module Annotate require 'my_plugin/railtie' if defined?(Rails) 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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
nofxx-annotate-3.0.1 | lib/annotate.rb |
nofxx-annotate-3.0.0 | lib/annotate.rb |