Method: Nanook::Block#hash

Defined in:
lib/nanook/block.rb

#hashInteger

The hash value is used along with #eql? by the Hash class to determine if two objects reference the same hash key.

Returns:

  • (Integer)


53
54
55
# File 'lib/nanook/block.rb', line 53

def hash
  id.hash
end