Sha256: 7366b0b05dfa4f4630a31609a7378b3f000400f00f6d58438adcfb2d5a936d6e

Contents?: true

Size: 290 Bytes

Versions: 6

Compression:

Stored size: 290 Bytes

Contents

module Inforouter #:nodoc:
  # A generic infoRouter record.
  class Record
    # Initialize the record.
    #
    # @param attrs [Hash] Attributes defined for this record.
    def initialize(attrs = {})
      attrs.each do |sym, val|
        send "#{sym}=", val
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
inforouter-0.3.0 lib/inforouter/record.rb
inforouter-0.2.9 lib/inforouter/record.rb
inforouter-0.2.8 lib/inforouter/record.rb
inforouter-0.2.7 lib/inforouter/record.rb
inforouter-0.2.6 lib/inforouter/record.rb
inforouter-0.2.0 lib/inforouter/record.rb