Module: Dhall::Parser::Builtin

Defined in:
lib/dhall/parser.rb

Instance Method Summary collapse

Instance Method Details

#valueObject



382
383
384
385
386
387
# File 'lib/dhall/parser.rb', line 382

def value
	return Dhall::Bool.new(value: true) if string == "True"
	return Dhall::Bool.new(value: false) if string == "False"

	Dhall::Builtins[string.to_sym]
end