Popularity
1.0
Stable
Activity
0.0
Stable
20
4
0
Monthly Downloads: 16
Programming language: Ruby
License: The Unlicense
block-is-array alternatives and similar gems
Based on the "Data Structures" category.
Alternatively, view block-is-array alternatives based on common mentions on social networks and blogs.
-
Flashtext Ruby Gem
A Ruby Port of the Python package FlashText @ https://github.com/vi3k6i5/flashtext
Scout Monitoring - Performance metrics and, now, Logs Management Monitoring with Scout Monitoring
Get early access to Scout Monitoring's NEW Ruby logging feature [beta] by signing up now. Start for free and enable logs to get better insights into your Rails apps.
Promo
www.scoutapm.com
Do you think we are missing an alternative of block-is-array or a related project?
README
block-is-array
Block is Array
Installation
$ gem install block-is-array
Usage
Code:
require 'block-is-array'
array = block_is_array do
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 array
Output:
[[:user, :www], [:http, [[:server, [[:listen, 80], [:server_name, "foo.com"]]], [:server, [[: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-array README section above
are relevant to that project's source code only.