Class: Renalware::HD::Session::Closed::SessionDocument

Inherits:
Renalware::HD::SessionDocument show all
Defined in:
app/models/renalware/hd/session/closed.rb

Defined Under Namespace

Classes: Dialysis, Info, Observations

Instance Method Summary collapse

Methods inherited from Document::Embedded

attribute, attributes_list, #method_missing, old_attribute, old_attributes

Dynamic Method Handling

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

Instance Method Details

#hd_type_is_hdf?Boolean

Returns:

  • (Boolean)


61
62
63
# File 'app/models/renalware/hd/session/closed.rb', line 61

def hd_type_is_hdf?
  %w(hdf_pre hdf_post).include?(info.hd_type.to_s)
end