Sha256: d5246fce6c55359e957fa4d72def624de5f3a679037af050c927e96b92eb6f2f

Contents?: true

Size: 457 Bytes

Versions: 34

Compression:

Stored size: 457 Bytes

Contents

require 'rubygems'

module Factor
  module Runtime

    class Attributes < Hash
  
      private
      def map_values(map,values)
        params=Hash.new
        map.each do |key,reference|
          params[key]=values[reference]
        end
        params
      end
  
      def format_map(parent,map)
        newmap=Hash.new
        map.each do |key,value|
          newmap["#{parent}::#{key}"]=value
        end
        newmap
      end
    end
  end
end

Version data entries

34 entries across 34 versions & 1 rubygems

Version Path
factor-0.1.10 lib/runtime/attributes.rb
factor-0.1.09 lib/runtime/attributes.rb
factor-0.1.07 lib/runtime/attributes.rb
factor-0.1.06 lib/runtime/attributes.rb
factor-0.1.05 lib/runtime/attributes.rb
factor-0.1.04 lib/runtime/attributes.rb
factor-0.1.03 lib/runtime/attributes.rb
factor-0.1.02 lib/runtime/attributes.rb
factor-0.1.01 lib/runtime/attributes.rb
factor-0.1.00 lib/runtime/attributes.rb
factor-0.0.99 lib/runtime/attributes.rb
factor-0.0.98 lib/runtime/attributes.rb
factor-0.0.97 lib/runtime/attributes.rb
factor-0.0.96 lib/runtime/attributes.rb
factor-0.0.95 lib/runtime/attributes.rb
factor-0.0.94 lib/runtime/attributes.rb
factor-0.0.93 lib/runtime/attributes.rb
factor-0.0.92 lib/runtime/attributes.rb
factor-0.0.91 lib/runtime/attributes.rb
factor-0.0.90 lib/runtime/attributes.rb