Module: Dhall::Parser::ImportHashed

Defined in:
lib/dhall/parser.rb

Instance Method Summary collapse

Instance Method Details

#value(import_type) ⇒ Object



543
544
545
546
547
# File 'lib/dhall/parser.rb', line 543

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