Returns whether another Options object equals the keys and values of this options object.
Returns:
whether another Options object equals the keys and values of this options object
157 158 159 160 161 162 163
# File 'lib/yard/options.rb', line 157 def ==(other) case other when Options; to_hash == other.to_hash when Hash; to_hash == other else false end end