Class: NNTP::Article

Inherits:
Struct
  • Object
show all
Defined in:
lib/nntp/article.rb

Instance Attribute Summary collapse

Instance Attribute Details

#groupObject

Returns the value of attribute group

Returns:

  • (Object)

    the current value of group



2
3
4
# File 'lib/nntp/article.rb', line 2

def group
  @group
end

#idObject

Returns the value of attribute id

Returns:

  • (Object)

    the current value of id



2
3
4
# File 'lib/nntp/article.rb', line 2

def id
  @id
end

#numObject

Returns the value of attribute num

Returns:

  • (Object)

    the current value of num



2
3
4
# File 'lib/nntp/article.rb', line 2

def num
  @num
end

#subjectObject

Returns the value of attribute subject

Returns:

  • (Object)

    the current value of subject



2
3
4
# File 'lib/nntp/article.rb', line 2

def subject
  @subject
end