Module: Gorillib::Model::Conversion::ClassMethods
- Defined in:
- lib/gorillib/model/active_model_conversion.rb
Overview
:nodoc:
Instance Method Summary collapse
-
#_to_partial_path ⇒ Object
Provide a class level cache for the to_path.
Instance Method Details
#_to_partial_path ⇒ Object
Provide a class level cache for the to_path. This is an internal method and should not be accessed directly.
61 62 63 64 65 |
# File 'lib/gorillib/model/active_model_conversion.rb', line 61 def _to_partial_path #:nodoc: @_to_partial_path ||= begin "#{model_name.collection}/#{model_name.element}".freeze end end |