Class: TheaterInfo

Inherits:
Object
  • Object
show all
Defined in:
lib/model/theater_info.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#nameObject

Returns the value of attribute name.



2
3
4
# File 'lib/model/theater_info.rb', line 2

def name
  @name
end