Module: Dhall::Parser::Env

Defined in:
lib/dhall/parser.rb

Instance Method Summary collapse

Instance Method Details

#valueObject



579
580
581
582
583
584
585
586
587
# File 'lib/dhall/parser.rb', line 579

def value
	Dhall::Import::EnvironmentVariable.new(
		if captures.key?(:bash_environment_variable)
			capture(:bash_environment_variable).value
		else
			capture(:posix_environment_variable).value
		end
	)
end