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.149 app/components/renalware/patients/side_menu_component.rb
renalware-core-2.0.148 app/components/renalware/patients/side_menu_component.rb
renalware-core-2.0.147 app/components/renalware/patients/side_menu_component.rb
renalware-core-2.0.146 app/components/renalware/patients/side_menu_component.rb
renalware-core-2.0.145 app/components/renalware/patients/side_menu_component.rb
renalware-core-2.0.144 app/components/renalware/patients/side_menu_component.rb
renalware-core-2.0.143 app/components/renalware/patients/side_menu_component.rb
renalware-core-2.0.142 app/components/renalware/patients/side_menu_component.rb
renalware-core-2.0.141 app/components/renalware/patients/side_menu_component.rb
renalware-core-2.0.140 app/components/renalware/patients/side_menu_component.rb
renalware-core-2.0.139 app/components/renalware/patients/side_menu_component.rb
renalware-core-2.0.138 app/components/renalware/patients/side_menu_component.rb
renalware-core-2.0.137 app/components/renalware/patients/side_menu_component.rb
renalware-core-2.0.136 app/components/renalware/patients/side_menu_component.rb
renalware-core-2.0.135 app/components/renalware/patients/side_menu_component.rb
renalware-core-2.0.134 app/components/renalware/patients/side_menu_component.rb
renalware-core-2.0.133 app/components/renalware/patients/side_menu_component.rb
renalware-core-2.0.132 app/components/renalware/patients/side_menu_component.rb
renalware-core-2.0.131 app/components/renalware/patients/side_menu_component.rb
renalware-core-2.0.130 app/components/renalware/patients/side_menu_component.rb