Class: Dhall::Import::Expression

Inherits:
Object
  • Object
show all
Defined in:
lib/dhall/ast.rb

Class Method Summary collapse

Class Method Details

.call(import_value, deadline: Util::NoDeadline.new) ⇒ Object



1686
1687
1688
1689
1690
# File 'lib/dhall/ast.rb', line 1686

def self.call(import_value, deadline: Util::NoDeadline.new)
	return import_value if import_value.is_a?(Dhall::Expression)

	Dhall.load_raw(import_value, timeout: deadline.timeout)
end