Skip to content
This repository has been archived by the owner on Jan 31, 2018. It is now read-only.

Commit

Permalink
Some docs.
Browse files Browse the repository at this point in the history
  • Loading branch information
Daz Oakley committed Jan 19, 2011
1 parent 5204973 commit 94996c9
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions lib/biomart/dataset.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,19 @@ class Dataset

attr_reader :name, :display_name, :visible

# Creates a new Biomart::Dataset object.
#
# @param [String] url The URL location of the biomart server.
# @param [Hash] args An arguments hash giving details of the dataset.
#
# arguments hash:
#
# {
# :name => String, #
# "name" => String, #
# :display_name => {} #
#
# }
def initialize( url, args )
@url = url or raise ArgumentError, "must pass :url"
unless @url =~ /martservice/
Expand Down

0 comments on commit 94996c9

Please sign in to comment.