Module: Renee::Core::Chaining

Included in:
Renee::Core, Routing
Defined in:
lib/renee_core/chaining.rb

Overview

Module for creating chainable methods. To use this within your own modules, first include Chaining, then, mark methods you want to be available with chain_method :method_name.

Examples:

module MoreRoutingMethods
  include Chaining
  def other_routing_method
    # ..
  end
  chain_method :other_routing_method