Sha256: 29d8d2dbe6f0c961c185029345005a3d0f801f9dc25eb0a7c36eaa38a918ac72
Contents?: true
Size: 553 Bytes
Versions: 4
Compression:
Stored size: 553 Bytes
Contents
# frozen_string_literal: true module ActsAsContactable module Extenders module Contactable def contactable? false end def acts_as_contactable(_args = {}) require 'acts_as_contactable/contactable' include ActsAsContactable::Contactable define_method :acts_as_contactable_options do self.class.instance_variable_get('@acts_as_contactable_options') end class_eval do def self.contactable? true end end end end end end
Version data entries
4 entries across 4 versions & 1 rubygems