Registry / web-framework / gon
library7.1.0rbrubygemsunverified

Send data from Ruby to JavaScript files without going through views and parsing.

gem install gon
INSTALL
IMPORT
SIG · GON
G
gon
web-frameworkrubyv7.1.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Gon
require 'gon'

Push data to be available in JavaScript as gon.user

require 'gon' Gon.push({ user: { name: 'John' } })
Debug
Known issues

No known issues recorded.

Upgrade
Version history
7.1.0latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
gon — gem install gon · libregistry