Sha256: ebdb55ad9fa8695a1df40b076eeae055c0cda6bfadf2c679f3ab90a5639dbe0c

Contents?: true

Size: 267 Bytes

Versions: 4

Compression:

Stored size: 267 Bytes

Contents

module Origen
  module Utility
    class Collector
      attr_reader :store

      def initialize
        @store = {}
      end

      def method_missing(method, *args, &_block)
        @store[method.to_s.sub('=', '').to_sym] = args.first
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
origen-0.33.0 lib/origen/utility/collector.rb
origen-0.32.1 lib/origen/utility/collector.rb
origen-0.32.0 lib/origen/utility/collector.rb
origen-0.31.0 lib/origen/utility/collector.rb