Sha256: 236d609c5dbf9c5134ab2a933eba0b11904bc9ca025badefebf15d379412e587
Contents?: true
Size: 567 Bytes
Versions: 1
Compression:
Stored size: 567 Bytes
Contents
# frozen_string_literal: true module Vedeu module Presentation # # @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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
vedeu-0.8.27 | lib/vedeu/presentation/parent.rb |