Module: ReactiveSupport

Defined in:
lib/reactive_support.rb

Overview

The ReactiveSupport module implements methods from ActiveSupport. It can be included in Ruby’s Object class by adding require ‘reactive_support’ to your project file. Then, ReactiveSupport methods can be called on any Ruby object just like the object’s own methods.

In this example, ReactiveSupport’s #try method is called on an array:

require 'reactive_support'

arr = %w(foo, bar, baz)
arr.try(:join, '.')