Class: Datasets::Wikipedia::Revision

Inherits:
Struct
  • Object
show all
Defined in:
lib/datasets/wikipedia.rb

Instance Attribute Summary collapse

Instance Attribute Details

#commentObject

Returns the value of attribute comment



11
12
13
# File 'lib/datasets/wikipedia.rb', line 11

def comment
  @comment
end

#contributorObject

Returns the value of attribute contributor



11
12
13
# File 'lib/datasets/wikipedia.rb', line 11

def contributor
  @contributor
end

#formatObject

Returns the value of attribute format



11
12
13
# File 'lib/datasets/wikipedia.rb', line 11

def format
  @format
end

#idObject

Returns the value of attribute id



11
12
13
# File 'lib/datasets/wikipedia.rb', line 11

def id
  @id
end

#minorObject

Returns the value of attribute minor



11
12
13
# File 'lib/datasets/wikipedia.rb', line 11

def minor
  @minor
end

#modelObject

Returns the value of attribute model



11
12
13
# File 'lib/datasets/wikipedia.rb', line 11

def model
  @model
end

#parent_idObject

Returns the value of attribute parent_id



11
12
13
# File 'lib/datasets/wikipedia.rb', line 11

def parent_id
  @parent_id
end

#sha1Object

Returns the value of attribute sha1



11
12
13
# File 'lib/datasets/wikipedia.rb', line 11

def sha1
  @sha1
end

#textObject

Returns the value of attribute text



11
12
13
# File 'lib/datasets/wikipedia.rb', line 11

def text
  @text
end

#timestampObject

Returns the value of attribute timestamp



11
12
13
# File 'lib/datasets/wikipedia.rb', line 11

def timestamp
  @timestamp
end