Class: Ccrypto::Ruby::ComparatorUtil

Inherits:
Object
  • Object
show all
Includes:
DataConversion
Defined in:
lib/ccrypto/ruby/utils/comparator.rb

Class Method Summary collapse

Methods included from DataConversion

#from_b64, #from_hex, included, #to_b64, #to_hex, #to_int_array

Class Method Details

.is_equal?(val1, val2) ⇒ Boolean

Returns:

  • (Boolean)


8
9
10
# File 'lib/ccrypto/ruby/utils/comparator.rb', line 8

def self.is_equal?(val1, val2)
  val1 == val2
end