RubyGems Navigation menu

sinatra-flash 0.1.0

A Sinatra extension for setting and showing Rails-like flash messages. This extension improves on the Rack::Flash gem by being simpler to use, providing a full range of hash operations (including iterating through various flash keys, testing the size of the hash, etc.), and offering a 'styled_flash' view helper to render the entire flash hash with sensible CSS classes. The downside is reduced flexibility -- these methods will *only* work in Sinatra.

Gemfile:
= 复制到剪贴板 已复制!

安装:
=

版本列表:

  1. 0.3.0 - May 02, 2010 (15.5 KB)
  2. 0.2.1 - April 29, 2010 (15.5 KB)
  3. 0.2.0 - April 28, 2010 (15.5 KB)
  4. 0.1.0 - April 26, 2010 (14.5 KB)

Runtime 依赖 (1):

sinatra >= 1.0.0

Development 依赖 (3):

rspec >= 1.2.9
yard >= 0

业主:

作者:

  • Stephen Eley

SHA 256 校验和:

d1afbde32383bff33271749494588e1507d7c3745c49f608f6b853e77f899556

下载总量 3,347,291

这个版本 3,420

许可:

需要的 Ruby 版本:

链接: