Sha256: b61d28b5aeb48db9273967bf372a21579d225faddc9f4f729ade838341c41e6a
Contents?: true
Size: 425 Bytes
Versions: 8
Compression:
Stored size: 425 Bytes
Contents
module GoodSort class << self def shwing require 'good_sort/view_helpers' ActionView::Base.send :include, ViewHelpers require 'good_sort/sorter' ActiveRecord::Base.send :extend, Sorter if ActionView::Base.instance_methods.include? 'will_paginate' require 'good_sort/will_paginate' ActionView::Base.send :include, WillPaginate end end end end GoodSort.shwing
Version data entries
8 entries across 8 versions & 2 rubygems