Class: BERT::Terms::Pid
- Inherits:
-
Object
- Object
- BERT::Terms::Pid
- Defined in:
- lib/bert/terms.rb
Instance Attribute Summary collapse
-
#creation ⇒ Object
readonly
Returns the value of attribute creation.
-
#node ⇒ Object
readonly
Returns the value of attribute node.
-
#node_id ⇒ Object
readonly
Returns the value of attribute node_id.
-
#serial ⇒ Object
readonly
Returns the value of attribute serial.
Instance Method Summary collapse
-
#initialize(node, nid, serial, created) ⇒ Pid
constructor
A new instance of Pid.
Constructor Details
#initialize(node, nid, serial, created) ⇒ Pid
Returns a new instance of Pid.
5 6 7 8 9 10 |
# File 'lib/bert/terms.rb', line 5 def initialize(node,nid,serial,created) @node = node @node_id = nid @serial = serial @creation = created end |
Instance Attribute Details
#creation ⇒ Object (readonly)
Returns the value of attribute creation.
4 5 6 |
# File 'lib/bert/terms.rb', line 4 def creation @creation end |
#node ⇒ Object (readonly)
Returns the value of attribute node.
4 5 6 |
# File 'lib/bert/terms.rb', line 4 def node @node end |
#node_id ⇒ Object (readonly)
Returns the value of attribute node_id.
4 5 6 |
# File 'lib/bert/terms.rb', line 4 def node_id @node_id end |
#serial ⇒ Object (readonly)
Returns the value of attribute serial.
4 5 6 |
# File 'lib/bert/terms.rb', line 4 def serial @serial end |