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.
65 66 67 |
# File 'lib/seahorse/client/configuration.rb', line 65 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.
63 64 65 |
# File 'lib/seahorse/client/configuration.rb', line 63 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.
69 70 71 |
# File 'lib/seahorse/client/configuration.rb', line 69 def call(*args) @block.call(*args) end |