pioneer icon indicating copy to clipboard operation
pioneer copied to clipboard

Easily compare `table.hashes()`

Open buob opened this issue 11 years ago • 1 comments

Add ability to supply an array of selectors or hash of elements to read them and turn into a key/value pair. Perhaps if an array of strings, assumes the selectors are semantic class names?

widget.objectify('title', 'name', 'description') -> (assumes .title, .name, .description)

{
  name: 'foo',
  title: 'bar',
  description: :poo:
}

buob avatar Sep 05 '14 19:09 buob

:+1:

samccone avatar Sep 05 '14 19:09 samccone