Class: Datasets::Wikipedia::Page

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

Instance Attribute Summary collapse

Instance Attribute Details

#idObject

Returns the value of attribute id

Returns:

  • (Object)

    the current value of id



22
23
24
# File 'lib/datasets/wikipedia.rb', line 22

def id
  @id
end

#namespaceObject

Returns the value of attribute namespace

Returns:

  • (Object)

    the current value of namespace



22
23
24
# File 'lib/datasets/wikipedia.rb', line 22

def namespace
  @namespace
end

#redirectObject

Returns the value of attribute redirect

Returns:

  • (Object)

    the current value of redirect



22
23
24
# File 'lib/datasets/wikipedia.rb', line 22

def redirect
  @redirect
end

#restrictionsObject

Returns the value of attribute restrictions

Returns:

  • (Object)

    the current value of restrictions



22
23
24
# File 'lib/datasets/wikipedia.rb', line 22

def restrictions
  @restrictions
end

#revisionObject

Returns the value of attribute revision

Returns:

  • (Object)

    the current value of revision



22
23
24
# File 'lib/datasets/wikipedia.rb', line 22

def revision
  @revision
end

#titleObject

Returns the value of attribute title

Returns:

  • (Object)

    the current value of title



22
23
24
# File 'lib/datasets/wikipedia.rb', line 22

def title
  @title
end