Sha256: a8ef33d8827d723832beac357348361d5c29bfce5115fc862911d422c0e83118

Contents?: true

Size: 335 Bytes

Versions: 34

Compression:

Stored size: 335 Bytes

Contents

# frozen_string_literal: true

module Renalware
  module Patients
    # Experimental ActionView component
    class SideMenuComponent < ActionView::Component::Base
      validates :patient, presence: true

      def initialize(patient:)
        @patient = patient
      end

      private

      attr_reader :patient
    end
  end
end

Version data entries

34 entries across 34 versions & 1 rubygems

Version Path
renalware-core-2.0.129 app/components/renalware/patients/side_menu_component.rb
renalware-core-2.0.128 app/components/renalware/patients/side_menu_component.rb
renalware-core-2.0.127 app/components/renalware/patients/side_menu_component.rb
renalware-core-2.0.126 app/components/renalware/patients/side_menu_component.rb
renalware-core-2.0.125 app/components/renalware/patients/side_menu_component.rb
renalware-core-2.0.124 app/components/renalware/patients/side_menu_component.rb
renalware-core-2.0.123 app/components/renalware/patients/side_menu_component.rb
renalware-core-2.0.121 app/components/renalware/patients/side_menu_component.rb
renalware-core-2.0.120 app/components/renalware/patients/side_menu_component.rb
renalware-core-2.0.119 app/components/renalware/patients/side_menu_component.rb
renalware-core-2.0.118 app/components/renalware/patients/side_menu_component.rb
renalware-core-2.0.117 app/components/renalware/patients/side_menu_component.rb
renalware-core-2.0.116 app/components/renalware/patients/side_menu_component.rb
renalware-core-2.0.115 app/components/renalware/patients/side_menu_component.rb