Sha256: 07ce6b1c064bdd8e7bc95815defbabafd1cd7a7043a52e606815c4887e522582
Contents?: true
Size: 361 Bytes
Versions: 64
Compression:
Stored size: 361 Bytes
Contents
# frozen_string_literal: true module Renalware module HD class StationPresenter < SimpleDelegator def name super.presence || "Unnamed Station" end def css return if location.blank? "background-color: #{location&.colour}" end def self.policy_class StationPolicy end end end end
Version data entries
64 entries across 64 versions & 1 rubygems