fjord/main.rb

19 lines
187 B
Ruby
Raw Normal View History

2024-03-24 22:20:46 +09:00
class Gate
def initialize(name)
@name = name
end
def enter(ticket)
end
def exit(ticket)
true
end
end
class Ticket
def initialize(fare)
@fare = fare
2024-03-23 22:59:51 +09:00
end
2024-03-16 22:40:05 +09:00
end