Class: Seahorse::Client::Configuration::DynamicDefault Private

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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

#blockObject

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