/stateless_module

Stateless immutable modules in Ruby

Primary LanguageRuby

Stateless Module

Create stateless immutable modules in Ruby.

Read the short spec to see what the features are.

Installation

`gem install stateless_module'

stateless_module makes use of TracePoint so it's only good for Ruby 2.0+

Usage

Call stateless_module from within your module to make it stateless:

module MyModule
  stateless_module
end