Class: Dhall::EmptyRecordType
Instance Method Summary
collapse
Methods inherited from RecordType
#==, decode, #eql?, for, #keys
Methods inherited from Expression
#&, #*, #+, #as_dhall, #cache_key, #call, #concat, decode, #deep_merge, #dhall_eq, #digest, #fetch, #fusion, #merge, #normalize, #resolve, #shift, #substitute, #to_binary, #to_cbor, #to_proc, #to_s, #|
Instance Method Details
#as_json ⇒ Object
695
696
697
|
# File 'lib/dhall/ast.rb', line 695
def as_json
[7, {}]
end
|
#deep_merge_type(other) ⇒ Object
691
692
693
|
# File 'lib/dhall/ast.rb', line 691
def deep_merge_type(other)
other
end
|
#merge_type(other) ⇒ Object
687
688
689
|
# File 'lib/dhall/ast.rb', line 687
def merge_type(other)
other
end
|
#record ⇒ Object
683
684
685
|
# File 'lib/dhall/ast.rb', line 683
def record
{}
end
|
#slice ⇒ Object
679
680
681
|
# File 'lib/dhall/ast.rb', line 679
def slice(*)
self
end
|