Class: Dhall::Resolvers::SourceWithDeadline

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(source, deadline) ⇒ SourceWithDeadline

Returns a new instance of SourceWithDeadline.



242
243
244
245
246
247
# File 'lib/dhall/resolve.rb', line 242

def initialize(source, deadline)
	@source = source
	@deadline = deadline

	super(source)
end

Instance Attribute Details

#deadlineObject (readonly)

Returns the value of attribute deadline.



240
241
242
# File 'lib/dhall/resolve.rb', line 240

def deadline
  @deadline
end

Instance Method Details

#to_uri(*args) ⇒ Object



249
250
251
# File 'lib/dhall/resolve.rb', line 249

def to_uri(*args)
	self.class.new(super, deadline)
end