Sha256: d13d6651cd45c8538441e7ddca3b9eae55da7a4df40bdca6910c921f08b26820
Contents?: true
Size: 306 Bytes
Versions: 396
Compression:
Stored size: 306 Bytes
Contents
class Bob hey: (message) -> switch when message.trim() == "" then "Fine. Be that way!" when message.match(/[a-zA-Z]/) and message == message.toUpperCase() then "Whoa, chill out!" when message[message.length - 1] == "?" then "Sure." else "Whatever." module.exports = Bob
Version data entries
396 entries across 396 versions & 1 rubygems