Class: Smith::Tool::Invocation
- Inherits:
-
Dry::Struct
- Object
- Dry::Struct
- Smith::Tool::Invocation
- Defined in:
- lib/smith/tool/invocation.rb
Instance Method Summary collapse
-
#initialize ⇒ Invocation
constructor
A new instance of Invocation.
Constructor Details
#initialize ⇒ Invocation
Returns a new instance of Invocation.
19 20 21 22 23 24 |
# File 'lib/smith/tool/invocation.rb', line 19 def initialize(...) super raise ArgumentError, "tool invocation batch ordinal exceeds its batch size" if batch_ordinal > batch_size freeze end |