Method: FormReader::Select#has_key?

Defined in:
lib/web/formreader.rb

#has_key?(index) ⇒ Boolean

these functions are the interface for assert_includes we delegate to the array… but also answer to the options hash

Returns:

  • (Boolean)


153
154
155
# File 'lib/web/formreader.rb', line 153

def has_key?(index)
  self.to_a.has_key?(index)
end