Class: Seahorse::Client::Configuration::DynamicDefault Private
- Inherits:
-
Object
- Object
- Seahorse::Client::Configuration::DynamicDefault
- Defined in:
- lib/seahorse/client/configuration.rb
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Instance Attribute Summary collapse
- #block ⇒ Object private
Instance Method Summary collapse
- #call(*args) ⇒ Object private
-
#initialize(block = nil) ⇒ DynamicDefault
constructor
private
A new instance of DynamicDefault.
Constructor Details
#initialize(block = nil) ⇒ DynamicDefault
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Returns a new instance of DynamicDefault.
67 68 69 |
# File 'lib/seahorse/client/configuration.rb', line 67 def initialize(block = nil) @block = block end |
Instance Attribute Details
#block ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
65 66 67 |
# File 'lib/seahorse/client/configuration.rb', line 65 def block @block end |
Instance Method Details
#call(*args) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
71 72 73 |
# File 'lib/seahorse/client/configuration.rb', line 71 def call(*args) @block.call(*args) end |