Flowdock
method

<=

Importance_1
v2_5_5 - Show latest stable - 0 notes - Class: Hash
<=(p1) public

Returns true if hash is subset of other or equals to other.

h1 = {a:1, b:2}
h2 = {a:1, b:2, c:3}
h1 <= h2   #=> true
h2 <= h1   #=> false
h1 <= h1   #=> true
Show source
Register or log in to add new notes.