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



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

def comment
  @comment
end

#contributorObject

Returns the value of attribute contributor

Returns:

  • (Object)

    the current value of contributor



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

def contributor
  @contributor
end

#formatObject

Returns the value of attribute format

Returns:

  • (Object)

    the current value of format



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

def format
  @format
end

#idObject

Returns the value of attribute id

Returns:

  • (Object)

    the current value of id



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

def id
  @id
end

#minorObject

Returns the value of attribute minor

Returns:

  • (Object)

    the current value of minor



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

def minor
  @minor
end

#modelObject

Returns the value of attribute model

Returns:

  • (Object)

    the current value of model



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

def model
  @model
end

#parent_idObject

Returns the value of attribute parent_id

Returns:

  • (Object)

    the current value of 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

Returns:

  • (Object)

    the current value of sha1



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

def sha1
  @sha1
end

#textObject

Returns the value of attribute text

Returns:

  • (Object)

    the current value of text



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

def text
  @text
end

#timestampObject

Returns the value of attribute timestamp

Returns:

  • (Object)

    the current value of timestamp



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

def timestamp
  @timestamp
end