Categories: None [Edit]

flooph

https://rubygems.org/gems/flooph
https://github.com/Phrogz/Flooph
Flooph is a Ruby library designed to let you take code from (possibly-malicious) users and evaluate it safely. Instead of evaluating arbitrary Ruby code (or JavaScript, or any other interpreter), it specifies a custom 'language', with its own parser and evaluation. Flooph provides four core pieces of functionality: * A simple syntax for specifying key/value pairs (much like a Ruby Hash literal). * A simple template language that supports conditional content and injecting content. * Standalone functionality for evaluating conditional expressions based on the key/values (also used in the templates). * Standalone functionality for evaluating value expressions based on the key/values (also used in the templates).

Total

Ranking: 86,279 of 191,455
Downloads: 10,409

Daily

Ranking: 90,780 of 191,429
Downloads: 2

Depended by

RankDownloadsName

Depends on

RankDownloadsName
71277,461,393parslet

Owners

#GravatarHandle
1icon#43261