177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
|
# File 'lib/flexmock/validators.rb', line 177
def initialize(
expectation,
required_arguments: 0,
optional_arguments: 0,
splat: true,
required_keyword_arguments: [],
optional_keyword_arguments: [],
keyword_splat: true)
@exp = expectation
@required_arguments = required_arguments
@optional_arguments = optional_arguments
@required_keyword_arguments = required_keyword_arguments.to_set
@optional_keyword_arguments = optional_keyword_arguments.to_set
@splat = splat
@keyword_splat = keyword_splat
end
|