Class: Tinder::Campfire
- Inherits:
-
Object
- Object
- Tinder::Campfire
- Defined in:
- lib/snitch/patches/tinder.rb
Instance Method Summary collapse
Instance Method Details
#find_or_create_room_by_name(name) ⇒ Object
3 4 5 6 7 |
# File 'lib/snitch/patches/tinder.rb', line 3 def find_or_create_room_by_name(name) room = find_room_by_name(name) room = create_room(name) if room.nil? room end |