Method: Dhall::RecordType#merge_type
- Defined in:
- lib/dhall/ast.rb
#merge_type(other) ⇒ Object
682 683 684 685 686 |
# File 'lib/dhall/ast.rb', line 682 def merge_type(other) return self if other.is_a?(EmptyRecordType) with(record: record.merge(other.record)) end |