class Method
DISALLOWED_MESSAGES_LIST = [
`rm -rf /tmp`, 'rm -rf /', 'rm', 'show `rm -fr /`', 'show eval `exec("rm -fr")`'
]
DISALLOWED_MESSAGES_LIST = [
`rm -rf /tmp`, 'rm -rf /', 'rm', 'show `rm -fr /`', 'show eval `exec("rm -fr")`'
]
Public Instance Methods
source(limit=10)
click to toggle source
# File eezee-3-aka-game-x-engine/managables/services/chat-bot-integrations/chatbot.rb, line 56 def source(limit=10) file, line = source_location if file && line IO.readlines(file)[line-1,limit] else nil end end