Class: Dhall::Builtin

Inherits:
Expression show all
Defined in:
lib/dhall/builtins.rb

Instance Method Summary collapse

Methods inherited from Expression

#&, #*, #+, #annotate, #as_dhall, #cache_key, #call, #concat, decode, #deep_merge, #deep_merge_type, #dhall_eq, #digest, #fetch, #fusion, #merge, #normalize, #resolve, #shift, #slice, #substitute, #to_binary, #to_cbor, #to_proc, #to_s, #|

Instance Method Details

#as_jsonObject



9
10
11
# File 'lib/dhall/builtins.rb', line 9

def as_json
	self.class.name&.split(/::/)&.last&.tr("_", "/").to_s
end