Sha256: 63f0f28e21a74efc573719c80c5b1599e9c4627a31a79594291f631d4c1ed145

Contents?: true

Size: 419 Bytes

Versions: 8

Compression:

Stored size: 419 Bytes

Contents

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

Version data entries

8 entries across 8 versions & 2 rubygems

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