module GorillaPatch::Inflections::MethodsFromSequel

Module for definition methods from Sequel sequel.jeremyevans.net/

Private Instance Methods

define_methods_from_sequel() click to toggle source
# File lib/gorilla_patch/inflections.rb, line 71
def define_methods_from_sequel
        Sequel::Inflections.private_instance_methods.each do |method_name|
                define_method method_name do
                        Sequel::Inflections.instance_method(method_name)
                                .bind(self).call(self)
                end
        end
end