Sha256: 2310aace39a16545894a6a879f71784d3788df2f39c0a21cf48f55f035f82945
Contents?: true
Size: 645 Bytes
Versions: 5
Compression:
Stored size: 645 Bytes
Contents
# frozen_string_literal: true module Vedeu module Presentation # Provide access to the parent class for a {Vedeu::Views} # instance. # # @api private # module Parent include Vedeu::Common # @return [NilClass|String|Symbol] def name if present?(@name) @name elsif parent? && present?(parent.name) parent.name end end # @return [NilClass|void] def parent return @parent if parent? end # @return [Boolean] def parent? present?(@parent) end end # Parent end # Presentation end # Vedeu
Version data entries
5 entries across 5 versions & 1 rubygems