Class: Pione::PNML::Ticket

Inherits:
PioneModel show all
Defined in:
lib/pione/pnml/pione-model.rb

Overview

Ticket represents a PIONE's ticket declaration.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from PioneModel

#indent

Constructor Details

#initialize(name) ⇒ Ticket

Returns a new instance of Ticket.



660
661
662
# File 'lib/pione/pnml/pione-model.rb', line 660

def initialize(name)
  @name = name
end

Instance Attribute Details

#nameObject (readonly)

Returns the value of attribute name.



658
659
660
# File 'lib/pione/pnml/pione-model.rb', line 658

def name
  @name
end