Class: HL7::Configuration
- Inherits:
-
Object
- Object
- HL7::Configuration
- Defined in:
- lib/configuration.rb
Overview
This class enables detailed configuration of the HL7 parser services.
By calling
HL7.configuration # => instance of HL7::Configuration
or
HL7.configure do |config|
config # => instance of HL7::Configuration
end
you are able to perform configuration updates.
Setting the keys with this Configuration
HL7.configure do |config|
config.empty_segment_is_error = false
end
Instance Attribute Summary collapse
-
#empty_segment_is_error ⇒ Object
Returns the value of attribute empty_segment_is_error.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
:nodoc:.
Constructor Details
#initialize ⇒ Configuration
:nodoc:
26 27 28 |
# File 'lib/configuration.rb', line 26 def initialize # :nodoc: @empty_segment_is_error = true end |
Instance Attribute Details
#empty_segment_is_error ⇒ Object
Returns the value of attribute empty_segment_is_error.
24 25 26 |
# File 'lib/configuration.rb', line 24 def empty_segment_is_error @empty_segment_is_error end |