Class: Dhall::Resolvers::SourceWithDeadline
- Inherits:
-
SimpleDelegator
- Object
- SimpleDelegator
- Dhall::Resolvers::SourceWithDeadline
- Defined in:
- lib/dhall/resolve.rb
Instance Attribute Summary collapse
-
#deadline ⇒ Object
readonly
Returns the value of attribute deadline.
Instance Method Summary collapse
-
#initialize(source, deadline) ⇒ SourceWithDeadline
constructor
A new instance of SourceWithDeadline.
- #to_uri(*args) ⇒ Object
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
#deadline ⇒ Object (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 |