Module: MapByMethod

Defined in:
lib/map_by_method/version.rb,
lib/map_by_method.rb

Overview

:nodoc:

Defined Under Namespace

Modules: InstanceMethods, VERSION

Constant Summary collapse

MAP_BY_METHOD_FORMAT =
/^(map|collect|select|each|reject|sort_by|group_by|index_by)(?:_by)?_(\w+[?!]?)$/

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



44
45
46
47
# File 'lib/map_by_method.rb', line 44

def self.included(base)
  super
  base.send :include, InstanceMethods
end