Class: Datasets::Wikipedia::Page

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

Instance Attribute Summary collapse

Instance Attribute Details

#id ⇒ Object

Returns the value of attribute id



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

def id
  @id
end

#namespace ⇒ Object

Returns the value of attribute namespace



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

def namespace
  @namespace
end

#redirect ⇒ Object

Returns the value of attribute redirect



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

def redirect
  @redirect
end

#restrictions ⇒ Object

Returns the value of attribute restrictions



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

def restrictions
  @restrictions
end

#revision ⇒ Object

Returns the value of attribute revision



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

def revision
  @revision
end

#title ⇒ Object

Returns the value of attribute title



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

def title
  @title
end