Sha256: 369866e567dd1c644c5f77aea33d89125bda4dee73f809a6d457315eea734b52
Contents?: true
Size: 699 Bytes
Versions: 2
Compression:
Stored size: 699 Bytes
Contents
# # ActiveFacts Compositions, Binary Compositor. # # Fans of RDF will like this one. # # Copyright (c) 2015 Clifford Heath. Read the LICENSE file. # require "activefacts/compositions" module ActiveFacts module Compositions class Binary < Compositor def generate super trace :binary!, "Constructing Binary Composition" do @binary_mappings.keys.sort_by(&:name).each do |object_type| mapping = @binary_mappings[object_type] mapping.re_rank end end trace :binary!, "Full binary composition" do @binary_mappings.keys.sort_by(&:name).each do |object_type| mapping = @binary_mappings[object_type] mapping.show_trace end end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
activefacts-compositions-1.9.5 | lib/activefacts/compositions/binary.rb |
activefacts-compositions-1.9.4 | lib/activefacts/compositions/binary.rb |