Top Level Namespace

Defined Under Namespace

Modules: BioPublisci, PubliSci, RDF Classes: PubliSciServer, QTL2RDF, String

Constant Summary collapse

USAGE =

File.new(VERSION_FILENAME).read.chomp

<<-EOF
  bio-publisci #{version} by Will Strinz 2013

  Usage:

  bio-publisci file
  (execute PROV dsl file)
EOF

Instance Method Summary collapse

Instance Method Details

#load_folder(folder) ⇒ Object



23
24
25
26
27
28
29
30
# File 'lib/bio-publisci.rb', line 23

def load_folder(folder)
	Dir.foreach(File.dirname(__FILE__) + "/#{folder}") do |file|
		unless file == "." or file == ".."
			f = File.dirname(__FILE__) + "/#{folder}/" + file
      load f unless File.directory?(f)
		end
  end
end