to_collection

Collection processor

Converts data to treat uniformly as a collection of objects, dropping nils out automatically

Treat an array of objects and a singular object uniformly as a collection of objects. Especially useful in processing REST Web Service API JSON responses in a functional approach.

GitHub

0 stars
3 watching
0 forks
Language: Ruby
last commit: almost 2 years ago
extensionruby

Related projects:

Repository Description Stars
westonganger/active_snapshot A library that provides simplified snapshots and restoration for ActiveRecord models and associations with transparent white-box implementation. 126
oscardelben/firebase-ruby A Ruby wrapper for Firebase's REST API 686
jonatas/fast Tools to search and refactor Ruby code directly in its abstract syntax tree 256
appoxy/simple_record An ActiveRecord-like interface for interacting with SimpleDB 129
openvenues/ruby_postal Provides fast address parsing and normalization for international addresses 141
andyobtiva/abstract_feature_branch A Ruby gem that enables Continuous Integration and Trunk-Based Development by allowing developers to switch features on or off at will 23
abrander/agento Collects near real-time metrics from Linux hosts using InfluxDB as the backend. 28
keenlabs/keen-gem An official Ruby client for the Keen IO API. 178
paulgoetze/weka-jruby Provides a JRuby wrapper around the Weka Java library for machine learning and data mining in Ruby. 65
elastic/elasticsearch-ruby A Ruby client for Elasticsearch allowing developers to interact with the search engine. 8
nateware/redis-objects A Ruby interface to Redis that maps data types to Ruby objects, enabling atomic operations and simplifying integration with existing ORMs. 2,090
komposable/komponent A Ruby on Rails gem for organizing front-end code into reusable components 427
ismasan/oat Provides a standardized way to serialize API data in Ruby apps. 278
andyobtiva/super_module Allows defining class methods and method invocations the same way as super classes without using def included(base). 140
aws-samples/reinvent2015-dev309 Provides sample code examples for processing large-scale metrics in Ruby using Hadoop and Amazon Redshift 7