enum.member?(obj) â true or false
Instance Public methods
Returns true
if any member of enum equals
obj. Equality is tested using ==
.
IO.constants.include? :SEEK_SET #=> true IO.constants.include? :SEEK_NO_FURTHER #=> false
Returns true
if any member of enum equals
obj. Equality is tested using ==
.
IO.constants.include? :SEEK_SET #=> true IO.constants.include? :SEEK_NO_FURTHER #=> false
Please login to continue.