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

Returns:

  • (Object)

    the current value of comment



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

def comment
  @comment
end

#contributorObject

Returns the value of attribute contributor

Returns:

  • (Object)

    the current value of contributor



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

def contributor
  @contributor
end

#formatObject

Returns the value of attribute format

Returns:

  • (Object)

    the current value of format



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

def format
  @format
end

#idObject

Returns the value of attribute id

Returns:

  • (Object)

    the current value of id



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

def id
  @id
end

#minorObject

Returns the value of attribute minor

Returns:

  • (Object)

    the current value of minor



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

def minor
  @minor
end

#modelObject

Returns the value of attribute model

Returns:

  • (Object)

    the current value of model



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

def model
  @model
end

#parent_idObject

Returns the value of attribute parent_id

Returns:

  • (Object)

    the current value of parent_id



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

def parent_id
  @parent_id
end

#sha1Object

Returns the value of attribute sha1

Returns:

  • (Object)

    the current value of sha1



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

def sha1
  @sha1
end

#textObject

Returns the value of attribute text

Returns:

  • (Object)

    the current value of text



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

def text
  @text
end

#timestampObject

Returns the value of attribute timestamp

Returns:

  • (Object)

    the current value of timestamp



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

def timestamp
  @timestamp
end