Class: Hoth::Endpoint::ConfigEvaluator
- Inherits:
-
Object
- Object
- Hoth::Endpoint::ConfigEvaluator
- Defined in:
- lib/hoth/endpoint.rb
Instance Attribute Summary collapse
-
#endpoint ⇒ Object
readonly
Returns the value of attribute endpoint.
Instance Method Summary collapse
-
#initialize(endpoint, &block) ⇒ ConfigEvaluator
constructor
A new instance of ConfigEvaluator.
Constructor Details
#initialize(endpoint, &block) ⇒ ConfigEvaluator
Returns a new instance of ConfigEvaluator.
7 8 9 10 |
# File 'lib/hoth/endpoint.rb', line 7 def initialize(endpoint, &block) @endpoint = endpoint instance_eval(&block) end |
Instance Attribute Details
#endpoint ⇒ Object (readonly)
Returns the value of attribute endpoint.
6 7 8 |
# File 'lib/hoth/endpoint.rb', line 6 def endpoint @endpoint end |