module DBWrapper::SimpleCommandDetector
Public Instance Methods
listening?(command)
click to toggle source
# File lib/db_wrapper/listeners/simple_command_detector.rb, line 3 def listening?(command) self.class.name.split('::').last.downcase == command.split(' ').first.downcase end