Sha256: 3ee9924f9f919d0f87fae5c4739cfd6449bdd7e3d995a62d9d911e8d0c971991

Contents?: true

Size: 360 Bytes

Versions: 8

Compression:

Stored size: 360 Bytes

Contents

module Biomart
  # Class representation for a biomart attribute. 
  # Will belong to a Biomart::Dataset.
  class Attribute
    attr_reader :name, :display_name, :default
    
    def initialize(args)
      @name         = args["internalName"]
      @display_name = args["displayName"]
      @default      = args["default"] ? true : false
    end
    
  end
end

Version data entries

8 entries across 8 versions & 2 rubygems

Version Path
dazoakley-biomart-0.1.0 lib/biomart/attribute.rb
dazoakley-biomart-0.1 lib/biomart/attribute.rb
biomart-0.1.5 lib/biomart/attribute.rb
biomart-0.1.4 lib/biomart/attribute.rb
biomart-0.1.3 lib/biomart/attribute.rb
biomart-0.1.2 lib/biomart/attribute.rb
biomart-0.1.1 lib/biomart/attribute.rb
biomart-0.1.0 lib/biomart/attribute.rb