Method: Codebot::Network#name_eql?

Defined in:
lib/codebot/network.rb

#name_eql?(name) ⇒ Boolean

Checks whether the name of this network is equal to another name.

Parameters:

  • name (String)

    the other name

Returns:

  • (Boolean)

    true if the names are equal, false otherwise



165
166
167
# File 'lib/codebot/network.rb', line 165

def name_eql?(name)
  @name.casecmp(name).zero?
end