class DataDepo::Loader
Attributes
paths[R]
Public Class Methods
new(paths)
click to toggle source
# File lib/data_depo/loader.rb, line 5 def initialize(paths) roots = ::DataDepo.definition_path @paths = roots.map {|root| File.join(root, *paths.map {|path| path.to_s}) } @paths = [File.join(*paths.map {|path| path.to_s})] if @paths.empty? end
Public Instance Methods
load()
click to toggle source
# File lib/data_depo/loader.rb, line 13 def load raise NotImplementedError end