Class: Renalware::Transplants::CRFDatedResult

Inherits:
DatedResult show all
Defined in:
app/documents/renalware/transplants/crf_dated_result.rb

Constant Summary

Constants inherited from Document::Embedded

Document::Embedded::STRIPPABLE_TYPES

Instance Method Summary collapse

Methods inherited from DatedResult

#to_s

Methods inherited from NestedAttribute

#nested_attribute?

Methods inherited from Document::Embedded

attribute, attributes_list, #method_missing, old_attribute, old_attributes, #strip_leading_trailing_whitespace_from_numbers

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Document::Embedded

Instance Method Details

#to_partial_pathObject

This allow us to add specific validation to this value object while keeping the default rendering of DatedResult



15
16
17
# File 'app/documents/renalware/transplants/crf_dated_result.rb', line 15

def to_partial_path
  "renalware/shared/documents/dated_result"
end