Class: TheaterInfo
- Inherits:
-
Object
- Object
- TheaterInfo
- Defined in:
- lib/model/theater_info.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize(name) ⇒ TheaterInfo
constructor
A new instance of TheaterInfo.
Constructor Details
#initialize(name) ⇒ TheaterInfo
Returns a new instance of TheaterInfo.
4 5 6 |
# File 'lib/model/theater_info.rb', line 4 def initialize(name) self.name = name end |
Instance Attribute Details
#name ⇒ Object
Returns the value of attribute name.
2 3 4 |
# File 'lib/model/theater_info.rb', line 2 def name @name end |