Method: Gct::Command::Autotag#eqlBetweenHash
- Defined in:
- lib/gct/command/autotag.rb
#eqlBetweenHash(hash1, hash2) ⇒ Object
216 217 218 219 220 221 222 223 224 225 226 227 228 |
# File 'lib/gct/command/autotag.rb', line 216 def eqlBetweenHash(hash1, hash2) iseql = true if hash1.empty? || hash2.empty? return false end hash1.keys.map do |key| if hash1[key].priority != hash2[key].priority iseql = false return iseql end end !hash2.empty? end |