Module: Dhall::Parser::ImportHashed

Defined in:
lib/dhall/parser.rb

Instance Method Summary collapse

Instance Method Details

#value(import_type) ⇒ Object



516
517
518
519
520
# File 'lib/dhall/parser.rb', line 516

def value(import_type)
	integrity_check = capture(:hash)&.value
	path = capture(:import_type).value
	Dhall::Import.new(integrity_check, import_type, path)
end