class Columbus3::SidecarSearch

Public Class Methods

new() click to toggle source
# File lib/columbus3/metadata/sidecar.rb, line 50
def initialize
  @metadata = Array.new
end

Public Instance Methods

load(array) click to toggle source
# File lib/columbus3/metadata/sidecar.rb, line 54
def load array
  @metadata = array.each.map { |x| YAML.load(File.read(x)).merge({ path: x.gsub(/\.yaml$/, ''), yaml: x }) }
end