Class: ClassRoom
- Inherits:
-
Object
- Object
- ClassRoom
- Defined in:
- lib/magister/types/classroom.rb
Overview
This class represents a physical classroom.
Instance Method Summary collapse
-
#initialize(rawParsed) ⇒ ClassRoom
constructor
Returns a new instance of ClassRoom.
-
#name ⇒ String
The name of the class.
Constructor Details
#initialize(rawParsed) ⇒ ClassRoom
Returns a new instance of ClassRoom.
10 11 12 |
# File 'lib/magister/types/classroom.rb', line 10 def initialize(rawParsed) @name = rawParsed["Naam"] end |
Instance Method Details
#name ⇒ String
The name of the class
17 18 19 |
# File 'lib/magister/types/classroom.rb', line 17 def name @name end |