Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- gems/newrelic_rpm-6.6.0.358/test/agent_helper.rb
- def assert_block(*msgs)
- assert yield, *msgs
- gems/erubis-2.7.0/benchmark/bench.rb
- def print(*args)
- $stderr.print(*args)
- gems/erubis-2.7.0/benchmark/bench.rb
- def print(*args)
- $stderr.print(*args)
- gems/launchy-2.4.3/tasks/this.rb
- def project_path( *relative_path )
- project_root.join( *relative_path )
- gems/yard-0.9.20/spec/code_objects/macro_object_spec.rb
- def create(*args)
- MacroObject.create(*args) end
- gems/yard-0.9.20/spec/handlers/legacy_base_spec.rb
- def tokval(code, *types)
- @handler.send(:tokval, TokenList.new(code).first, *types)
- gems/yard-0.9.20/spec/handlers/legacy_base_spec.rb
- def tokval_list(code, *types)
- @handler.send(:tokval_list, TokenList.new(code), *types)
- gems/yard-0.9.20/spec/templates/engine_spec.rb
- def loads_template(*args)
- expect(Engine).to receive(:template).with(*args).and_return(@template)
- gems/yard-0.9.20/spec/cli/server_spec.rb
- def run(*args)
- @cli.run(*args.flatten)
- gems/yard-0.9.20/spec/cli/config_spec.rb
- def run(*args)
- @config.run(*args)
- gems/tins-1.21.1/examples/turing.rb
- def step(*tapes)
- run(*tapes)
- gems/tins-1.21.1/examples/turing.rb
- def run(*tape)
- @tape = Tape.new(*tape)
- gems/tins-1.21.1/examples/recipe.rb
- def method_missing(name, *args)
- @ingredients << Object.const_get(name).new(*args)
- gems/raindrops-0.19.0/setup.rb
- def command(*args)
- system(*args) or raise RuntimeError,
- gems/raindrops-0.19.0/setup.rb
- def ruby(*args)
- command config('rubyprog'), *args
- gems/httpclient-2.8.3/test/test_auth.rb
- def self.decode_utf16le(*arg)
- EncodeUtil.decode_utf16le(*arg)
- gems/redis-activesupport-5.2.0/test/active_support/cache/redis_store_test.rb
- def instantiate_store(*addresses)
- ActiveSupport::Cache::RedisStore.new(*addresses).instance_variable_get(:@data)
- gems/declarative-option-0.1.0/test/option_test.rb
- def Option(*args)
- Declarative::Option(*args)
- gems/oj-3.9.1/test/json_gem/json_addition_test.rb
- def to_json(*args)
- }.to_json(*args)
- gems/oj-3.9.1/test/json_gem/json_addition_test.rb
- def to_json(*args)
- }.to_json(*args)
- gems/oj-3.9.1/test/json_gem/json_addition_test.rb
- def to_json(*args)
- }.to_json(*args)
- gems/oj-3.9.1/test/json_gem/json_addition_test.rb
- def to_json(*args)
- }.to_json(*args)
- gems/oj-3.9.1/test/json_gem/json_parser_test.rb
- def to_json(*a)
- }.to_json(*a)
- gems/oj-3.9.1/test/json_gem/json_parser_test.rb
- def to_json(*a)
- }.merge(self).to_json(*a)
- gems/bootstrap-sass-3.4.1/tasks/converter/char_string_scanner.rb
- def initialize(*args)
- @s = StringScanner.new(*args)
- gems/bootstrap-sass-3.4.1/tasks/converter/logger.rb
- def puts(*args)
- STDERR.puts *args unless @silence
- gems/cliver-0.3.2/spec/spec_helper.rb
- def public_send(method, *args, &block)
- send(method, *args, &block)
- gems/htmlentities-4.3.4/test/encoding_test.rb
- def assert_encode(expected, input, *args)
- assert_equal expected, coder.encode(input, *args)
- gems/simple_form-4.1.0/test/support/misc_helpers.rb
- def custom_form_for(object, *args, &block)
- simple_form_for(object, *args, { builder: CustomFormBuilder }, &block)
- gems/simple_form-4.1.0/test/support/misc_helpers.rb
- def custom_mapping_form_for(object, *args, &block)
- simple_form_for(object, *args, { builder: CustomMapTypeFormBuilder }, &block)
- gems/simple_form-4.1.0/test/support/misc_helpers.rb
- def with_concat_form_for(*args, &block)
- concat simple_form_for(*args, &(block || proc {}))
- gems/simple_form-4.1.0/test/support/misc_helpers.rb
- def with_concat_fields_for(*args, &block)
- concat simple_fields_for(*args, &block)
- gems/simple_form-4.1.0/test/support/misc_helpers.rb
- def with_concat_custom_form_for(*args, &block)
- concat custom_form_for(*args, &block)
- gems/simple_form-4.1.0/test/support/misc_helpers.rb
- def with_concat_custom_mapping_form_for(*args, &block)
- concat custom_mapping_form_for(*args, &block)
- gems/simple_form-4.1.0/test/support/misc_helpers.rb
- def with_form_for(object, *args, &block)
- f.input(*args, &block)
- gems/simple_form-4.1.0/test/support/misc_helpers.rb
- def with_input_field_for(object, *args)
- f.input_field(*args)
- gems/simple_form-4.1.0/test/support/misc_helpers.rb
- def input(attribute_name, *args, &block)
- super(attribute_name, *args, { input_html: { class: 'custom' } }, &block)
- gems/simple_form-4.1.0/test/form_builder/general_test.rb
- def with_custom_form_for(object, *args, &block)
- f.input(*args, &block)
- gems/simple_form-4.1.0/test/form_builder/hint_test.rb
- def with_hint_for(object, *args)
- f.hint(*args)
- gems/simple_form-4.1.0/test/form_builder/label_test.rb
- def with_label_for(object, *args, &block)
- f.label(*args, &block)
- gems/simple_form-4.1.0/test/form_builder/error_test.rb
- def with_error_for(object, *args)
- f.error(*args)
- gems/simple_form-4.1.0/test/form_builder/error_test.rb
- def with_full_error_for(object, *args)
- f.full_error(*args)
- gems/simple_form-4.1.0/test/form_builder/button_test.rb
- def with_button_for(object, *args)
- f.button(*args)
- gems/simple_form-4.1.0/test/form_builder/association_test.rb
- def with_association_for(object, *args)
- f.association(*args)
- gems/commander-fastlane-4.4.6/spec/spec_helper.rb
- def run(*args)
- new_command_runner(*args) do
- gems/sequel-5.24.0/spec/core_extensions_spec.rb
- def l(*args, &block)
- literal(filter_expr(*args, &block))
- gems/sequel-5.24.0/spec/core_extensions_spec.rb
- def lit(*args)
- literal(*args)
- gems/sequel-5.24.0/spec/core_extensions_spec.rb
- def l(*args, &block)
- literal(filter_expr(*args, &block))
- gems/sequel-5.24.0/spec/extensions/prepared_statements_spec.rb
- def insert_select_sql(*v)
- insert_sql(*v) << " RETURNING #{(opts[:returning] && !opts[:returning].empty?) ? opts[:returning].map{|c| literal(c)}.join(', ') : '*'}"
- gems/sequel-5.24.0/spec/extensions/prepared_statements_spec.rb
- def insert_select_sql(*v)
- insert_sql(*v) << " RETURNING #{(opts[:returning] && !opts[:returning].empty?) ? opts[:returning].map{|c| literal(c)}.join(', ') : '*'}"
- gems/sequel-5.24.0/spec/extensions/insert_returning_select_spec.rb
- def insert_select(*v)
- with_sql_first("#{insert_sql(*v)} RETURNING #{opts[:returning].map{|x| literal(x)}.join(', ')}") end
- gems/sequel-5.24.0/spec/extensions/spec_helper.rb
- def columns(*cols)
- def_column_accessor(*cols)
- gems/sequel-5.24.0/spec/extensions/core_refinements_spec.rb
- def l(*args, &block)
- literal(filter_expr(*args, &block))
- gems/sequel-5.24.0/spec/extensions/core_refinements_spec.rb
- def lit(*args)
- literal(*args)
- gems/sequel-5.24.0/spec/guards_helper.rb
- def cspecify(message, *checked, &block)
- if pending = Sequel.guarded?(*checked)
- gems/sequel-5.24.0/spec/model/plugins_spec.rb
- def self.configure(model, *args, &block)
- @args << [block, *args]
- gems/sequel-5.24.0/spec/model/spec_helper.rb
- def columns(*cols)
- def_column_accessor(*cols)
- gems/sequel-5.24.0/spec/core/expression_filters_spec.rb
- def l(*args, &block)
- literal(filter_expr(*args, &block))
- gems/sequel-5.24.0/spec/core/expression_filters_spec.rb
- def lit(*args)
- literal(*args)
- gems/sequel-5.24.0/spec/core/expression_filters_spec.rb
- def l(*args, &block)
- literal(filter_expr(*args, &block))
- gems/sequel-5.24.0/spec/core/database_spec.rb
- def select(*a, &block)
- super.order(*a, &block) end
- gems/sequel-5.24.0/spec/core/mock_adapter_spec.rb
- def a.method_missing(m, *x)
- push(*x) end
- gems/font-awesome-rails-4.7.0.5/test/icon_helper_test.rb
- def assert_icon(expected, *args)
- assert_dom_equal expected, fa_icon(*args), message
- gems/font-awesome-rails-4.7.0.5/test/icon_helper_test.rb
- def assert_stacked_icon(expected, *args)
- assert_dom_equal expected, fa_stacked_icon(*args), message
- gems/savon-2.12.0/spec/support/integration.rb
- def call_and_fail_gracefully(client, *args, &block)
- client.call(*args, &block)
- gems/savon-2.12.0/spec/savon/log_message_spec.rb
- def log_message(*args)
- Savon::LogMessage.new(*args)
- gems/slim-4.0.1/test/sinatra/helper.rb
- def method_missing(name, *args, &block)
- response.send(name, *args, &block)
- gems/slim-4.0.1/test/core/test_commands.rb
- def prepare_common_test(content, *args)
- out, err = exec_slimrb(*args, '--stdin') do |i|
- gems/slim-4.0.1/test/core/test_commands.rb
- def exec_slimrb(*args)
- Open3.popen3 'ruby', 'bin/slimrb', *args do |i,o,e,t|
- gems/slim-4.0.1/test/core/helper.rb
- def call_macro(name, *args)
- @macro[name.to_s].call(*args)
- gems/rack-cors-1.0.3/test/unit/cors_test.rb
- def successful_cors_request(*args)
- cors_request(*args)
- gems/net-sftp-2.1.2/test/test_session.rb
- def assert_not_implemented(server_version, command, *args)
- assert_raises(NotImplementedError) { sftp.send(command, *args) }
- gems/net-sftp-2.1.2/test/test_session.rb
- def assert_command_with_callback(command, *args)
- sftp.send(command, *args) do |response|
- gems/net-sftp-2.1.2/test/test_session.rb
- def assert_synchronous_command(command, *args)
- result = sftp.send(command, *args) do |response|
- gems/net-sftp-2.1.2/test/test_session.rb
- def assert_successful_open(*args)
- assert_command_with_callback(:open, *args) do |response|
- gems/net-sftp-2.1.2/test/common.rb
- def raw(*args)
- Net::SSH::Buffer.from(*args).to_s
- gems/net-sftp-2.1.2/test/common.rb
- def gets_packet(type, *args)
- gets_data(sftp_packet(type, *args))
- gems/net-sftp-2.1.2/test/common.rb
- def gets_packet_in_two(fragment_len, type, *args)
- whole_packet = sftp_packet(type, *args)
- gems/net-sftp-2.1.2/test/common.rb
- def sends_packet(type, *args)
- sends_data(sftp_packet(type, *args))
- gems/net-sftp-2.1.2/test/common.rb
- def sftp_packet(type, *args)
- data = Net::SSH::Buffer.from(*args)
- gems/net-sftp-2.1.2/test/common.rb
- def on_open(*args)
- @progress << [:open, *args]
- gems/net-sftp-2.1.2/test/common.rb
- def on_put(*args)
- @progress << [:put, *args]
- gems/net-sftp-2.1.2/test/common.rb
- def on_close(*args)
- @progress << [:close, *args]
- gems/net-sftp-2.1.2/test/common.rb
- def on_finish(*args)
- @progress << [:finish, *args]
- gems/jbuilder-2.9.1/test/jbuilder_template_test.rb
- def render(*args)
- JSON.load render_without_parsing(*args)
- gems/jbuilder-2.9.1/test/jbuilder_test.rb
- def jbuild(*args, &block)
- Jbuilder.new(*args, &block).attributes!
- gems/jbuilder-2.9.1/test/jbuilder_test.rb
- def method_missing(name, *args, &block)
- @thing.send name, *args, &block
- gems/method_source-0.9.2/spec/spec_helper.rb
- def hello_#{name}(*args)
- send_mesg(:#{name}, *args)
- gems/method_source-0.9.2/spec/spec_helper.rb
- def hello_#{name}(*args)
- send_mesg(:#{name}, *args)
- gems/guard-rspec-4.7.3/spec/lib/guard/rspec_formatter_spec.rb
- def rspec_summary_args(*args)
- [n.new(*args)]
- gems/guard-rspec-4.7.3/spec/spec_helper.rb
- def instance_double(*args)
- double(*args)
- gems/representable-3.0.4/test/test_helper.rb
- def render(object, *args)
- AssertableDocument.new(object.send("to_#{format}", *args), format)
- gems/representable-3.0.4/test/test_helper.rb
- def parse(object, input, *args)
- object.send("from_#{format}", input, *args)
- gems/representable-3.0.4/test/test_helper.rb
- def must_equal_document(*args)
- return document.must_equal_xml(*args) if @format == :xml
- gems/representable-3.0.4/test/representable_test.rb
- def from_hash(hsh, *args); replace hsh.upcase; end # DISCUSS: from_hash must return self.
- def from_hash(hsh, *args); replace hsh.downcase; end
- gems/redis-rack-2.0.5/test/rack/session/redis_test.rb
- def with_pool_management(*args)
- yield simple(*args)
- gems/json-1.8.6/tests/test_json.rb
- def to_json(*a)
- }.to_json(*a)
- gems/json-1.8.6/tests/test_json.rb
- def to_json(*a)
- }.merge(self).to_json(*a)
- gems/json-1.8.6/tests/test_json_addition.rb
- def to_json(*args)
- }.to_json(*args)
- gems/json-1.8.6/tests/test_json_addition.rb
- def to_json(*args)
- }.to_json(*args)
- gems/json-1.8.6/tests/test_json_addition.rb
- def to_json(*args)
- }.to_json(*args)
- gems/json-1.8.6/tests/test_json_addition.rb
- def to_json(*args)
- }.to_json(*args)
- gems/rb-inotify-0.10.0/spec/notifier_spec.rb
- def recording(dir, *flags, callback: nil)
- @notifier.watch(dir.to_s, *flags) do |event|
- gems/sass-3.4.25/vendor/listen/lib/listen/listener.rb
- def ignore(*regexps)
- directories_records.each { |r| r.ignore(*regexps) }
- gems/sass-3.4.25/vendor/listen/lib/listen/listener.rb
- def ignore!(*regexps)
- directories_records.each { |r| r.ignore!(*regexps) }
- gems/sass-3.4.25/vendor/listen/lib/listen/listener.rb
- def filter(*regexps)
- directories_records.each { |r| r.filter(*regexps) }
- gems/sass-3.4.25/vendor/listen/lib/listen/listener.rb
- def filter!(*regexps)
- directories_records.each { |r| r.filter!(*regexps) }
- gems/sass-3.4.25/vendor/listen/lib/listen.rb
- def self.to(*args, &block)
- listener = _init_listener(*args, &block)
- gems/sass-3.4.25/vendor/listen/lib/listen.rb
- def self.to!(*args, &block)
- _init_listener(*args, &block).start!
- gems/sass-3.4.25/vendor/listen/lib/listen.rb
- def self._init_listener(*args, &block)
- Listener.new(*args, &block)
- gems/sass-3.4.25/test/sass/plugin_test.rb
- def assert_callbacks(*args)
- assert_callback(*args.pop) {assert_callbacks(*args)}
- gems/sass-3.4.25/test/sass/plugin_test.rb
- def assert_no_callbacks(*args)
- assert_no_callback(*args.pop) {assert_no_callbacks(*args)}
- gems/sass-3.4.25/test/sass/plugin_test.rb
- def assert_needs_update(*args)
- assert(Sass::Plugin::StalenessChecker.stylesheet_needs_update?(tempfile_loc(*args), template_loc(*args)),
- gems/sass-3.4.25/test/sass/plugin_test.rb
- def assert_doesnt_need_update(*args)
- assert(!Sass::Plugin::StalenessChecker.stylesheet_needs_update?(tempfile_loc(*args), template_loc(*args)),
- gems/sass-3.4.25/test/sass/plugin_test.rb
- def touch(*args)
- FileUtils.touch(template_loc(*args))
- gems/sass-3.4.25/test/sass/exec_test.rb
- def exec(script, *args)
- system(ruby, script, *args)
- gems/sass-3.4.25/test/sass/compiler_test.rb
- def create_listener(*args, &on_filesystem_event)
- @fake_listener = FakeListener.new(*args, &on_filesystem_event)
- gems/crass-1.0.4/test/test_parse_properties.rb
- def parse(*args)
- CP.parse_properties(*args)
- gems/crass-1.0.4/test/test_parse_stylesheet.rb
- def parse(*args)
- CP.parse_stylesheet(*args)
- gems/crass-1.0.4/test/test_parse_rules.rb
- def parse(*args)
- CP.parse_rules(*args)
- gems/mongo-2.10.1/spec/support/client_registry.rb
- def with(*args)
- with_without_registry(*args).tap do |client|
- gems/mongo-2.10.1/spec/support/client_registry.rb
- def new_local_client(*args)
- Mongo::Client.new(*args).tap do |client|
- gems/chef-config-15.2.20/spec/unit/config_spec.rb
- def to_platform(*args)
- ChefConfig::Config.platform_specific_path(*args)
- gems/facter-2.5.6/spec/unit/util/confine_spec.rb
- def confined(fact_value, *confines)
- Facter::Util::Confine.new("yay", *confines).true?
- gems/facter-2.5.6/spec/puppetlabs_spec/fixtures.rb
- def fixtures(*rest)
- File.join(PuppetlabsSpec::FIXTURE_DIR, *rest)
- gems/trollop-2.9.9/test/trollop/version_needed_test.rb
- def vn(*args)
- VersionNeeded.new(*args)
- gems/trollop-2.9.9/test/trollop/command_line_error_test.rb
- def cle(*args)
- CommandlineError.new(*args)
- gems/trollop-2.9.9/test/trollop/help_needed_test.rb
- def hn(*args)
- HelpNeeded.new(*args)
- gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/haml-4.0.7/lib/haml/filters.rb
- def internal_compile(*args)
- compile(*args)
- gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/haml-4.0.7/lib/haml/helpers/action_view_mods.rb
- def render_with_haml(*args, &block)
- return non_haml { render_without_haml(*args, &block) }
- gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/haml-4.0.7/lib/haml/helpers/action_view_mods.rb
- def capture_with_haml(*args, &block)
- str = capture_haml(*args, &block)
- gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/haml-4.0.7/lib/haml/helpers/action_view_mods.rb
- def content_tag_with_haml(name, *args, &block)
- return content_tag_without_haml(name, *args, &block) unless is_haml?
- gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/haml-4.0.7/lib/haml/helpers/action_view_mods.rb
- def content_tag(*args, &block)
- html_tag = content_tag_with_haml(*args, &block)
- gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/haml-4.0.7/lib/haml/helpers/action_view_mods.rb
- def form_tag_with_haml(url_for_options = {}, options = {}, *parameters_for_url, &proc)
- res = form_tag_without_haml(url_for_options, options, *parameters_for_url, &proc) + "\n"
- gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/haml-4.0.7/lib/haml/helpers/action_view_mods.rb
- def form_for_with_haml(object_name, *args, &proc)
- res = form_for_without_haml(object_name, *args, &proc)
- gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/haml-4.0.7/lib/haml/helpers/action_view_xss_mods.rb
- def with_output_buffer_with_haml_xss(*args, &block)
- res = with_output_buffer_without_haml_xss(*args, &block)
- gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/haml-4.0.7/lib/haml/helpers/action_view_xss_mods.rb
- def form_tag_with_haml_xss(*args, &block)
- res = form_tag_without_haml_xss(*args, &block)
- gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/haml-4.0.7/lib/haml/helpers/action_view_xss_mods.rb
- def form_for_with_haml_xss(*args, &block)
- res = form_for_without_haml_xss(*args, &block)
- gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/haml-4.0.7/lib/haml/helpers/xss_mods.rb
- def find_and_preserve_with_haml_xss(*args, &block)
- Haml::Util.html_safe(find_and_preserve_without_haml_xss(*args, &block))
- gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/haml-4.0.7/lib/haml/helpers/xss_mods.rb
- def preserve_with_haml_xss(*args, &block)
- Haml::Util.html_safe(preserve_without_haml_xss(*args, &block))
- gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/haml-4.0.7/lib/haml/helpers/xss_mods.rb
- def list_of_with_haml_xss(*args, &block)
- Haml::Util.html_safe(list_of_without_haml_xss(*args, &block))
- gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/haml-4.0.7/lib/haml/helpers/xss_mods.rb
- def capture_haml_with_haml_xss(*args, &block)
- Haml::Util.html_safe(capture_haml_without_haml_xss(*args, &block))
- gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/haml-4.0.7/lib/haml/helpers/xss_mods.rb
- def haml_tag_with_haml_xss(name, *rest, &block)
- with_raw_haml_concat {haml_tag_without_haml_xss(name, *rest, &block)}
- gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/haml-4.0.7/lib/haml/helpers/xss_mods.rb
- def escape_once_with_haml_xss(*args)
- Haml::Util.html_safe(escape_once_without_haml_xss(*args))
- gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/haml-4.0.7/lib/haml/exec.rb
- def puts(*args)
- Kernel.puts(*args)
- gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/haml-4.0.7/lib/haml/parser.rb
- def balance(*args)
- res = Haml::Util.balance(*args)
- gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/haml-4.0.7/lib/haml/util.rb
- def def_static_method(klass, name, args, *vars)
- def #{static_method_name(name, *vars.map {|v| set.include?(v)})}(#{args.join(', ')})
- gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/haml-4.0.7/lib/haml/helpers.rb
- def capture_haml(*args, &block)
- value = block.call(*args)
- gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/erubis-2.7.0/lib/erubis/helpers/rails_form_helper.rb
- def pp_form_tag(url_for_options={}, options={}, *parameters_for_url, &block)
- return form_tag(url_for_options, options, *parameters_for_url, &block)
- gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/unicode-display_width-1.6.0/lib/unicode/display_width/string_ext.rb
- def display_size(*args)
- display_width(*args)
- gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/unicode-display_width-1.6.0/lib/unicode/display_width/string_ext.rb
- def display_length(*args)
- display_width(*args)
- gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/slim-4.0.1/lib/slim/embedded.rb
- def register(name, klass, *option_filter)
- define_options(name, *option_filter)
- gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/slim-4.0.1/lib/slim/code_attributes.rb
- def on_html_attrs(*attrs)
- [:multi, *attrs.map {|a| compile(a) }]
- gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/tilt-2.0.9/lib/tilt.rb
- def self.register(template_class, *extensions)
- default_mapping.register(template_class, *extensions)
- gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/tilt-2.0.9/lib/tilt.rb
- def self.register_lazy(class_name, file, *extensions)
- default_mapping.register_lazy(class_name, file, *extensions)
- gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/tilt-2.0.9/lib/tilt.rb
- def self.prefer(template_class, *extensions)
- register(template_class, *extensions)
- gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/lib/safe_yaml.rb
- def self.safe_load(*args)
- SafeYAML.load(*args)
- gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/lib/safe_yaml.rb
- def self.safe_load_file(*args)
- SafeYAML.load_file(*args)
- gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/ruby_parser-3.13.1/lib/ruby_parser_extras.rb
- def s(*args)
- result = Sexp.new(*args)
- gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/temple-0.8.1/lib/temple/mixins/dispatcher.rb
- def on_if(condition, *cases)
- [:if, condition, *cases.compact.map {|e| compile(e) }]
- gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/temple-0.8.1/lib/temple/mixins/dispatcher.rb
- def on_case(arg, *cases)
- [:case, arg, *cases.map {|condition, exp| [condition, compile(exp)] }]
- gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/temple-0.8.1/lib/temple/mixins/dispatcher.rb
- def on_cond(*cases)
- [:cond, *cases.map {|condition, exp| [condition, compile(exp)] }]
- gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/temple-0.8.1/lib/temple/map.rb
- def initialize(*map)
- super({}, *map)
- gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/temple-0.8.1/lib/temple/map.rb
- def initialize(*map, &block)
- super(*map)
- gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/temple-0.8.1/lib/temple/filters/control_flow.rb
- def on_cond(*cases)
- on_case(nil, *cases)
- gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/temple-0.8.1/lib/temple/erb/trimming.rb
- def on_multi(*exps)
- [:multi, *exps]
- gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/temple-0.8.1/lib/temple/templates/tilt.rb
- def self.register_as(*names)
- ::Tilt.register(self, *names.map(&:to_s))
- gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/temple-0.8.1/lib/temple/html/attribute_merger.rb
- def on_html_attrs(*attrs)
- [:html, :attrs, *attrs]
- gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/temple-0.8.1/lib/temple/html/dispatcher.rb
- def on_html_attrs(*attrs)
- [:html, :attrs, *attrs.map {|a| compile(a) }]
- gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/temple-0.8.1/lib/temple/html/attribute_remover.rb
- def on_html_attrs(*attrs)
- [:multi, *attrs.map {|attr| compile(attr) }]
- gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/temple-0.8.1/lib/temple/html/attribute_sorter.rb
- def on_html_attrs(*attrs)
- [:html, :attrs, *attrs.sort_by do |attr|
- gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/temple-0.8.1/lib/temple/html/fast.rb
- def on_html_attrs(*attrs)
- [:multi, *attrs.map {|attr| compile(attr) }]
- gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/ruby_parser-legacy-1.0.0/lib/ruby_parser/legacy/ruby_parser_extras.rb
- def s(*args)
- result = Sexp.new(*args)
- gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/sexp_processor-4.12.1/lib/sexp.rb
- def s *args, &blk
- Sexp.new(*args)
- gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/sexp_processor-4.12.1/lib/sexp.rb
- def self.s *args
- Matcher.new(*args)
- gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/sexp_processor-4.12.1/lib/sexp.rb
- def self.any *args
- Any.new(*args)
- gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/sexp_processor-4.12.1/lib/sexp.rb
- def self.all *args
- All.new(*args)
- gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/highline-2.0.2/lib/highline.rb
- def choose(*items, &details)
- menu.choices(*items) unless items.empty?
- gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/highline-2.0.2/lib/highline.rb
- def color(string, *colors)
- HighLine.Style(*colors).color(string)
- gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/highline-2.0.2/lib/highline.rb
- def color_code(*colors)
- HighLine.Style(*colors).code
- gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/highline-2.0.2/lib/highline.rb
- def puts(*args)
- @output.puts(*args)
- gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/highline-2.0.2/lib/highline/menu.rb
- def build_item(*args)
- Menu::Item.new(*args)
- gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/highline-2.0.2/lib/highline/style.rb
- def self.Style(*args)
- find_or_create_style_list(*args)
- gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/highline-2.0.2/lib/highline/style.rb
- def self.rgb(*colors)
- hex = rgb_hex(*colors)
- gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/highline-2.0.2/lib/highline/import.rb
- def or_ask(*args, &details)
- ask(*args) do |question|
- gems/elasticsearch-api-7.3.0/test/test_helper.rb
- def assert_block(*msgs)
- assert yield, *msgs
- gems/unicorn-5.5.1/setup.rb
- def command(*args)
- system(*args) or raise RuntimeError,
- gems/unicorn-5.5.1/setup.rb
- def ruby(*args)
- command config('rubyprog'), *args
- gems/unicorn-5.5.1/test/test_helper.rb
- def chunked_spawn(stdout, *cmd)
- exec(*cmd)
- gems/elasticsearch-transport-7.3.0/test/test_helper.rb
- def assert_block(*msgs)
- assert yield, *msgs
- gems/virtus-1.0.5/spec/integration/custom_collection_attributes_spec.rb
- def initialize(*args)
- @array = Array[*args]
- gems/virtus-1.0.5/spec/integration/custom_collection_attributes_spec.rb
- def self.[](*args)
- new(*args)
- gems/vegas-0.1.11/test/test_helper.rb
- def vegas(*args, &block)
- @vegas = Vegas::Runner.new(*args, &block)
- gems/gyoku-1.3.1/spec/gyoku/array_spec.rb
- def to_xml(*args)
- Gyoku::Array.to_xml *args
- gems/rack-2.0.7/test/spec_cascade.rb
- def cascade(*args)
- Rack::Lint.new Rack::Cascade.new(*args)
- gems/rack-2.0.7/test/spec_file.rb
- def file(*args)
- Rack::Lint.new Rack::File.new(*args)
- gems/rack-2.0.7/test/spec_lint.rb
- def env(*args)
- Rack::MockRequest.env_for("/", *args)
- gems/rack-2.0.7/test/spec_lint.rb
- def assert_lint(*args)
- env["rack.input"].send(:read, *args)
- gems/rack-2.0.7/test/spec_runtime.rb
- def runtime_app(app, *args)
- Rack::Lint.new Rack::Runtime.new(app, *args)
- gems/rack-2.0.7/test/spec_static.rb
- def static(app, *args)
- Rack::Lint.new Rack::Static.new(app, *args)
- gems/rack-2.0.7/test/spec_content_type.rb
- def content_type(app, *args)
- Rack::Lint.new Rack::ContentType.new(app, *args)
- gems/rack-2.0.7/test/spec_etag.rb
- def etag(app, *args)
- Rack::Lint.new Rack::ETag.new(app, *args)
- gems/systemu-2.6.5/test/testing.rb
- def Testing(*args, &block)
- def context(*args, &block)
- gems/rubygems-update-3.0.6/bundler/lib/bundler/vendor/thor/lib/thor/actions/file_manipulation.rb
- def gsub_file(path, flag, *args, &block)
- content.gsub!(flag, *args, &block)
- gems/rubygems-update-3.0.6/bundler/lib/bundler/vendor/thor/lib/thor/actions/file_manipulation.rb
- def uncomment_lines(path, flag, *args)
- gsub_file(path, /^(\s*)#[[:blank:]]*(.*#{flag})/, '\1\2', *args)
- gems/rubygems-update-3.0.6/bundler/lib/bundler/vendor/thor/lib/thor/actions/file_manipulation.rb
- def comment_lines(path, flag, *args)
- gsub_file(path, /^(\s*)([^#|\n]*#{flag})/, '\1# \2', *args)
- gems/rubygems-update-3.0.6/bundler/lib/bundler/vendor/thor/lib/thor/actions/file_manipulation.rb
- def capture(*args)
- with_output_buffer { yield(*args) }
- gems/rubygems-update-3.0.6/bundler/lib/bundler/vendor/thor/lib/thor/shell/basic.rb
- def prepare_message(message, *color)
- spaces + set_color(message.to_s, *color)
- gems/rubygems-update-3.0.6/bundler/lib/bundler/vendor/thor/lib/thor/invocation.rb
- def invoke_command(command, *args) #:nodoc:
- command.run(self, *args)
- gems/rubygems-update-3.0.6/bundler/lib/bundler/vendor/thor/lib/thor/invocation.rb
- def invoke_with_padding(*args)
- with_padding { invoke(*args) }
- gems/rubygems-update-3.0.6/bundler/lib/bundler/vendor/thor/lib/thor/core_ext/hash_with_indifferent_access.rb
- def fetch(key, *args)
- super(convert_key(key), *args)
- gems/rubygems-update-3.0.6/bundler/lib/bundler/vendor/thor/lib/thor/core_ext/io_binary_read.rb
- def binread(file, *args)
- f.read(*args)
- gems/rubygems-update-3.0.6/bundler/lib/bundler/vendor/thor/lib/thor/parser/arguments.rb
- def self.parse(*args)
- new(*args).parse(to_parse)
- gems/rubygems-update-3.0.6/bundler/lib/bundler/vendor/thor/lib/thor/group.rb
- def _invoke_for_class_method(klass, command = nil, *args, &block) #:nodoc:
- invoke klass, command, *args
- gems/rubygems-update-3.0.6/bundler/lib/bundler/lazy_specification.rb
- def respond_to?(*args)
- super || @specification ? @specification.respond_to?(*args) : nil
- gems/rubygems-update-3.0.6/bundler/lib/bundler/lazy_specification.rb
- def method_missing(method, *args, &blk)
- @specification.send(method, *args, &blk)
- gems/rubygems-update-3.0.6/bundler/lib/bundler/plugin.rb
- def hook(event, *args, &arg_blk)
- @hooks_by_event[event].each {|blk| blk.call(*args, &arg_blk) }
- gems/rubygems-update-3.0.6/bundler/lib/bundler/shared_helpers.rb
- def find_file(*names)
- search_up(*names) do |filename|
- gems/rubygems-update-3.0.6/bundler/lib/bundler/shared_helpers.rb
- def find_directory(*names)
- search_up(*names) do |dirname|
- gems/rubygems-update-3.0.6/bundler/lib/bundler/rubygems_gem_installer.rb
- def self.at(*args)
- new(*args)
- gems/rubygems-update-3.0.6/bundler/lib/bundler/cli.rb
- def self.deprecated_option(*args, &blk)
- method_option(*args, &blk)
- gems/rubygems-update-3.0.6/bundler/lib/bundler/plugin/api.rb
- def tmp(*names)
- Bundler.tmp(["plugin", *names].join("-"))
- gems/rubygems-update-3.0.6/bundler/lib/bundler/plugin/api.rb
- def method_missing(name, *args, &blk)
- return Bundler.send(name, *args, &blk) if Bundler.respond_to?(name)
- gems/rubygems-update-3.0.6/bundler/lib/bundler/plugin/dsl.rb
- def plugin(name, *args)
- _gem(name, *args)
- gems/rubygems-update-3.0.6/bundler/lib/bundler/dep_proxy.rb
- def method_missing(*args, &blk)
- @dep.send(*args, &blk)
- gems/rubygems-update-3.0.6/bundler/lib/bundler/installer/parallel_installer.rb
- def self.call(*args)
- new(*args).call
- gems/rubygems-update-3.0.6/bundler/lib/bundler/cli/exec.rb
- def kernel_exec(*args)
- Kernel.exec(*args)
- gems/rubygems-update-3.0.6/bundler/lib/bundler/remote_specification.rb
- def method_missing(method, *args, &blk)
- _remote_specification.send(method, *args, &blk)
- gems/rubygems-update-3.0.6/bundler/lib/bundler/ui/shell.rb
- def add_color(string, *color)
- @shell.set_color(string, *color)
- gems/rubygems-update-3.0.6/bundler/lib/bundler.rb
- def setup(*groups)
- load.setup(*groups)
- gems/rubygems-update-3.0.6/bundler/lib/bundler.rb
- def require(*groups)
- setup(*groups).require(*groups)
- gems/rubygems-update-3.0.6/bundler/lib/bundler.rb
- def clean_system(*args)
- with_clean_env { Kernel.system(*args) }
- gems/rubygems-update-3.0.6/bundler/lib/bundler.rb
- def clean_exec(*args)
- with_clean_env { Kernel.exec(*args) }
- gems/rubygems-update-3.0.6/test/rubygems/test_gem_resolver.rb
- def make_dep(name, *req)
- Gem::Dependency.new(name, *req)
- gems/rubygems-update-3.0.6/test/rubygems/test_gem_spec_fetcher.rb
- def tuple(*args)
- Gem::NameTuple.new(*args)
- gems/rubygems-update-3.0.6/test/rubygems/test_gem_source.rb
- def tuple(*args)
- Gem::NameTuple.new(*args)
- gems/rubygems-update-3.0.6/util/patch_with_prs.rb
- def sh(*cmd)
- return if system(*cmd)
- gems/specinfra-2.81.0/spec/spec_helper.rb
- def get_command(method, *args)
- Specinfra.command.get(method, *args)
- gems/compass-1.0.3/test/helpers/command_line.rb
- def compass(*arguments)
- execute *arguments
- gems/ruby_parser-3.13.1/test/test_ruby_lexer.rb
- def assert_lex3 input, exp_sexp, *args, &block
- assert_lex(input, exp_sexp, *args, &block)
- gems/ruby_parser-3.13.1/test/test_ruby_lexer.rb
- def refute_lex input, *args # TODO: re-sort
- assert_lex(input, nil, *args)
- gems/amq-protocol-2.3.0/generate.rb
- def sh(*args)
- system(*args)
- gems/mono_logger-1.1.0/test/mri_logger_test.rb
- def log(logger, msg_id, *arg, &block)
- Log.new(log_raw(logger, msg_id, *arg, &block))
- gems/mono_logger-1.1.0/test/mri_logger_test.rb
- def log_raw(logger, msg_id, *arg, &block)
- logger.__send__(msg_id, *arg, &block)
- gems/wasabi-3.5.0/spec/support/fixture.rb
- def fixture(*args)
- Fixture.new(*args)
- gems/connection_pool-2.2.2/test/test_connection_pool.rb
- def respond_to?(method_id, *args)
- method_id == :do_magic || super(method_id, *args)
- gems/temple-0.8.1/test/mixins/test_dispatcher.rb
- def on_a_b(*arg)
- [:on_ab, *arg]
- gems/temple-0.8.1/test/mixins/test_dispatcher.rb
- def on(*args)
- [:on_zero, *args]
- gems/slop-4.7.0/test/option_test.rb
- def option(*args)
- Slop::Option.new(*args)
- gems/celluloid-0.17.4/spec/support/crash_checking.rb
- def debug(*args)
- @real_logger.debug(*args)
- gems/celluloid-0.17.4/spec/support/crash_checking.rb
- def warn(*args)
- @real_logger.warn(*args)
- gems/hitimes-1.3.1/tasks/this.rb
- def project_path( *relative_path )
- project_root.join( *relative_path )
- gems/devise-4.7.1/app/controllers/devise_controller.rb
- def respond_with_navigational(*args, &block)
- respond_with(*args) do |format|
- gems/parser-2.6.4.0/test/test_lexer.rb
- def refute_scanned(s, *args)
- assert_scanned(s, *args)
- gems/elasticsearch-7.3.0/test/test_helper.rb
- def assert_block(*msgs)
- assert yield, *msgs
- gems/childprocess-2.0.0/spec/spec_helper.rb
- def ruby_process(*args)
- @process = ChildProcess.build(RUBY , *args)
- gems/childprocess-2.0.0/spec/spec_helper.rb
- def windows_process(*args)
- @process = ChildProcess.build("powershell", *args)
- gems/childprocess-2.0.0/spec/spec_helper.rb
- def write_argv(path, *args)
- ruby_process(tmp_script(code), *args)
- gems/kgio-2.11.2/setup.rb
- def command(*args)
- system(*args) or raise RuntimeError,
- gems/kgio-2.11.2/setup.rb
- def ruby(*args)
- command config('rubyprog'), *args
- gems/webmock-3.7.2/minitest/test_helper.rb
- def assert_raise(*exp, &block)
- assert_raises(*exp, &block)
- gems/webmock-3.7.2/spec/support/my_rack_app.rb
- def each(*args, &blk)
- ["This is not in an array!"].each(*args, &blk)
- gems/json-2.2.0/tests/json_addition_test.rb
- def to_json(*args)
- }.to_json(*args)
- gems/json-2.2.0/tests/json_addition_test.rb
- def to_json(*args)
- }.to_json(*args)
- gems/json-2.2.0/tests/json_addition_test.rb
- def to_json(*args)
- }.to_json(*args)
- gems/json-2.2.0/tests/json_addition_test.rb
- def to_json(*args)
- }.to_json(*args)
- gems/json-2.2.0/tests/json_parser_test.rb
- def to_json(*a)
- }.to_json(*a)
- gems/json-2.2.0/tests/json_parser_test.rb
- def to_json(*a)
- }.merge(self).to_json(*a)
- gems/json_pure-2.2.0/tests/json_addition_test.rb
- def to_json(*args)
- }.to_json(*args)
- gems/json_pure-2.2.0/tests/json_addition_test.rb
- def to_json(*args)
- }.to_json(*args)
- gems/json_pure-2.2.0/tests/json_addition_test.rb
- def to_json(*args)
- }.to_json(*args)
- gems/json_pure-2.2.0/tests/json_addition_test.rb
- def to_json(*args)
- }.to_json(*args)
- gems/json_pure-2.2.0/tests/json_parser_test.rb
- def to_json(*a)
- }.to_json(*a)
- gems/json_pure-2.2.0/tests/json_parser_test.rb
- def to_json(*a)
- }.merge(self).to_json(*a)
- gems/thread_safe-0.3.6/spec/thread_safe/cache_spec.rb
- def expect_handles_return_lambda(method, key, *args)
- @cache.send(method, key, *args) { return :direct_return }
- gems/thread_safe-0.3.6/spec/thread_safe/cache_spec.rb
- def expect_handles_exception(method, key, *args)
- expect { @cache.send(method, key, *args) { raise TestException, '' } }.
- 256 matches in 167 files of 63 gems
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement