Class: Hecks::QuerySpecification::Common::NullSemantics
- Inherits:
-
Struct
- Object
- Struct
- Hecks::QuerySpecification::Common::NullSemantics
- Defined in:
- lib/hecks/query_specification/common/null_semantics.rb
Instance Attribute Summary collapse
-
#mode ⇒ Object
Returns the value of attribute mode.
Class Method Summary collapse
Instance Method Summary collapse
Instance Attribute Details
#mode ⇒ Object
Returns the value of attribute mode
4 5 6 |
# File 'lib/hecks/query_specification/common/null_semantics.rb', line 4 def mode @mode end |
Class Method Details
.default ⇒ Object
7 |
# File 'lib/hecks/query_specification/common/null_semantics.rb', line 7 def self.default = new(mode: :native) |
Instance Method Details
#to_h ⇒ Object
5 |
# File 'lib/hecks/query_specification/common/null_semantics.rb', line 5 def to_h = { mode: mode.to_s } |