Advertisement
Dan42

"with" method in gems

Sep 23rd, 2022 (edited)
355
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.69 KB | Source Code | 0 0
  1. actionmailer-6.0.0/lib/action_mailer/parameterized.rb
  2. 100: def with(params)
  3. actionpack-6.0.0/lib/abstract_controller/railties/routes_helpers.rb
  4. 6: def self.with(routes, include_path_helpers = true)
  5. activerecord-6.0.0/lib/arel/select_manager.rb
  6. 218: def with(*subqueries)
  7. activesupport-6.0.0/lib/active_support/cache/redis_cache_store.rb
  8. 24: def with
  9. activesupport-6.0.0/lib/active_support/inflector/transliterate.rb
  10. 79: # invalid/undef with a "?" we're safe to do the same beforehand
  11. arel-9.0.0/lib/arel/select_manager.rb
  12. 207: def with *subqueries
  13. aws-sdk-s3-1.48.0/lib/aws-sdk-s3/presigned_post.rb
  14. 550: def with(field_name, value)
  15. aws-sdk-sqs-1.22.0/lib/aws-sdk-sqs/queue_poller.rb
  16. 505: def with(options)
  17. aws-sdk-v1-1.67.0/lib/aws/core/configuration.rb
  18. 273: def with options = {}
  19. brakeman-4.6.1/bundle/ruby/2.6.0/gems/highline-2.0.2/lib/highline/simulate.rb
  20. 51: def self.with(*strings)
  21. capistrano-3.11.1/lib/capistrano/configuration/server.rb
  22. 49: def with(properties)
  23. chef-16.4.41/spec/support/platform_helpers.rb
  24. 17: def self.with(present)
  25. connection_pool-2.2.2/lib/connection_pool.rb
  26. 60: def with(options = {})
  27. 76: def with(options = {})
  28. 135: def with(&block)
  29. dalli-2.7.10/lib/active_support/cache/dalli_store.rb
  30. 86: def with(&block)
  31. dalli-2.7.10/lib/dalli/client.rb
  32. 265: def with
  33. dotenv-2.7.5/lib/dotenv.rb
  34. 60: def with(*filenames)
  35. fuzzyurl-0.9.0/lib/fuzzyurl.rb
  36. 114: def with(params={})
  37. highline-1.7.10/lib/highline/simulate.rb
  38. 40: def self.with(*strings)
  39. highline-2.0.2/lib/highline/simulate.rb
  40. 51: def self.with(*strings)
  41. mocha-1.9.0/lib/mocha/expectation.rb
  42. 221: def with(*expected_parameters, &matching_block)
  43. mongo-2.10.1/lib/mongo/client.rb
  44. 580: def with(new_options = Options::Redacted.new)
  45. mongo-2.10.1/lib/mongo/collection.rb
  46. 192: def with(new_options)
  47. mongo-2.10.1/spec/support/client_registry.rb
  48. 6: def with(*args)
  49. net-ssh-multi-1.2.1/lib/net/ssh/multi/session.rb
  50. 375: def with(*groups)
  51. nokogiri-1.10.4/lib/nokogiri/xml/builder.rb
  52. 253: def self.with(root, &block)
  53. parser-2.6.4.0/lib/parser/source/map.rb
  54. 176: def with(&block)
  55. parser-2.6.4.0/lib/parser/source/range.rb
  56. 177: def with(begin_pos: @begin_pos, end_pos: @end_pos)
  57. parser-2.6.4.0/lib/parser/source/tree_rewriter/action.rb
  58. 49: def with(range: @range, children: @children, insert_before: @insert_before, replacement: @replacement, insert_after: @insert_after)
  59. redis-activesupport-5.2.0/lib/active_support/cache/redis_store.rb
  60. 266: def with(&block)
  61. redis-rack-2.0.5/lib/rack/session/redis.rb
  62. 78: def with(&block)
  63. redis-rack-2.0.5/lib/redis/rack/connection.rb
  64. 14: def with(&block)
  65. rspec-expectations-3.8.4/lib/rspec/matchers/built_in/respond_to.rb
  66. 23: def with(n)
  67. rspec-mocks-3.8.1/lib/rspec/mocks/any_instance/chain.rb
  68. 83: def with(*args, &block)
  69. rspec-mocks-3.8.1/lib/rspec/mocks/message_expectation.rb
  70. 311: def with(*args, &block)
  71. rspec-mocks-3.8.1/lib/rspec/mocks/verifying_message_expectation.rb
  72. 25: def with(*args, &block)
  73. rspec-rails-3.8.2/lib/rspec/rails/matchers/active_job.rb
  74. 22: def with(*args, &block)
  75. rspec-rails-3.8.2/lib/rspec/rails/matchers/be_a_new.rb
  76. 23: def with(expected_attributes)
  77. rubocop-0.74.0/lib/rubocop/cop/registry.rb
  78. 165: def with(cops)
  79. rubocop-0.74.0/lib/rubocop/cop/style/method_def_parentheses.rb
  80. 92: MSG_MISSING = 'Use def with parentheses when there are ' \
  81. sass-3.4.25/lib/sass/script/value/color.rb
  82. 425: def with(attrs)
  83. sass-3.7.4/lib/sass/script/value/color.rb
  84. 426: def with(attrs)
  85. savon-2.12.0/lib/savon/mock/expectation.rb
  86. 11: def with(locals)
  87. sequel-5.24.0/lib/sequel/dataset/query.rb
  88. 1071: def with(name, dataset, opts=OPTS)
  89. shoulda-matchers-4.1.2/lib/shoulda/matchers/action_controller/rescue_from_matcher.rb
  90. 46: def with(method)
  91. shoulda-matchers-4.1.2/lib/shoulda/matchers/active_record/define_enum_for_matcher.rb
  92. 200: def with(expected_enum_values)
  93. sshkit-1.20.0/lib/sshkit/backends/abstract.rb
  94. 97: def with(environment, &_block)
  95. sshkit-1.20.0/lib/sshkit/backends/connection_pool.rb
  96. 60: def with(connection_factory, *args)
  97. sshkit-1.20.0/lib/sshkit/command.rb
  98. 161: def with(&_block)
  99. tins-1.21.1/lib/tins/dslkit.rb
  100. 300: def self.with(*ids)
  101. tty-prompt-0.22.0/lib/tty/prompt/result.rb
  102. 15: def with(condition = nil, &block)
  103. virtus-1.0.5/lib/virtus/value_object.rb
  104. 77: def with(attribute_updates)
  105. webmock-3.7.2/lib/webmock/request_pattern.rb
  106. 26: def with(options = {}, &block)
  107. webmock-3.7.2/lib/webmock/request_stub.rb
  108. 12: def with(params = {}, &block)
  109. webmock-3.7.2/lib/webmock/rspec/matchers/webmock_matcher.rb
  110. 34: def with(options = {}, &block)
  111.  
Tags: Ruby
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement