Sha256: a7dd4247d5193e100737dfcf99859658aca9d22a3aa9c186e0a167a303157ed2
Contents?: true
Size: 314 Bytes
Versions: 7
Compression:
Stored size: 314 Bytes
Contents
# frozen_string_literal: true module WithModel # Extended into all ActiveRecord models created by with_model. module Methods # Since model classes not created by with_model won't have this # method, one should instead test `respond_to?(:with_model?)`. def with_model? true end end end
Version data entries
7 entries across 7 versions & 1 rubygems