Popularity
0.6
Growing
Activity
0.0
Stable
5
2
1
Monthly Downloads: 16
Programming language: Ruby
License: The Unlicense
block-is-hash alternatives and similar gems
Based on the "Data Structures" category.
Alternatively, view block-is-hash alternatives based on common mentions on social networks and blogs.
-
Pivot Table
Transform an ActiveRecord-ish data set into pivot table -
Hjson, the Human JSON written in Ruby
Hjson for Ruby -
block-is-array
Block is Array (See also https://github.com/raviqqe/block-is-hash) -
Flashtext Ruby Gem
A Ruby Port of the Python package FlashText @ https://github.com/vi3k6i5/flashtext
Clean code begins in your IDE with SonarLint
Up your coding game and discover issues early. SonarLint is a free plugin that helps you find & fix bugs and security issues from the moment you start writing code. Install from your favorite IDE marketplace today.
Promo
www.sonarlint.org
Do you think we are missing an alternative of block-is-hash or a related project?
README
block-is-hash
Block is Hash
Installation
$ gem install block-is-hash
Usage
Code:
require 'block-is-hash'
hash = block_is_hash %i(server) do # `server` directive can be repeated.
user :www
http do
server do
listen 80
server_name 'foo.com'
end
server do
listen 443, :ssl
server_name 'bar.com'
end
end
end
p hash
Output:
{:user=>:www, :http=>{:server=>[{:listen=>80, :server_name=>"foo.com"}, {:listen=>[443, :ssl], :server_name=>"bar.com"}]}}
For more examples, see [examples](examples) directory.
License
*Note that all licence references and agreements mentioned in the block-is-hash README section above
are relevant to that project's source code only.