Sha256: ed19df069311161c55c97d7d66519940fed5b4cedbc7413d3185db855666fed0

Contents?: true

Size: 489 Bytes

Versions: 1

Compression:

Stored size: 489 Bytes

Contents

require 'configatron'

if File.exists?('config/triplify.yml')
  #loading all plugin files
  %w{ models controllers helpers}.each do |dir|
    path = File.join(File.dirname(__FILE__), 'app', dir)
    $LOAD_PATH << path
    ActiveSupport::Dependencies.load_paths << path
    ActiveSupport::Dependencies.load_once_paths.delete(path)
  end
  # load settings from conig
  configatron.configure_from_yaml('config/triplify.yml')
  #register Mime-type
  Mime::Type.register "text/n3", :n3
end




Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rtriplify-0.0.3 lib/rtriplify.rb