Class: AbstractGraph::Composition::UniqueNameCollection::Ticket
- Inherits:
-
Object
- Object
- AbstractGraph::Composition::UniqueNameCollection::Ticket
- Defined in:
- lib/abstract_graph/composition/unique_name_collection/ticket.rb,
lib/abstract_graph/composition/unique_name_collection/ticket/get.rb,
lib/abstract_graph/composition/unique_name_collection/ticket/set.rb,
lib/abstract_graph/composition/unique_name_collection/ticket/initialize.rb
Overview
d: This is the ticket for the nameserver in UNC
Instance Attribute Summary collapse
-
#number ⇒ Object
Returns the value of attribute number.
Instance Method Summary collapse
-
#get ⇒ Object
d: Returns the number a: t: constant p: r: @number.
-
#initialize(number) ⇒ Ticket
constructor
d: Returns the Ticket object a: Sets number t: constant p: number to initialize with r: self.
-
#set(number) ⇒ Object
d: Sets the Ticket number.
Constructor Details
#initialize(number) ⇒ Ticket
d: Returns the Ticket object a: Sets number t: constant p: number to initialize with r: self
13 14 15 |
# File 'lib/abstract_graph/composition/unique_name_collection/ticket/initialize.rb', line 13 def initialize( number ) @number = number end |
Instance Attribute Details
#number ⇒ Object
Returns the value of attribute number.
9 10 11 |
# File 'lib/abstract_graph/composition/unique_name_collection/ticket.rb', line 9 def number @number end |
Instance Method Details
#get ⇒ Object
d: Returns the number a: t: constant p: r: @number
13 14 15 |
# File 'lib/abstract_graph/composition/unique_name_collection/ticket/get.rb', line 13 def get @number end |
#set(number) ⇒ Object
d: Sets the Ticket number. a: Sets number t: constant p: number to set to r: self
13 14 15 |
# File 'lib/abstract_graph/composition/unique_name_collection/ticket/set.rb', line 13 def set( number ) @number = number end |