SYMBOL INDEX (355 symbols across 57 files) FILE: lib/zapata.rb type Zapata (line 22) | module Zapata class Revolutionist (line 23) | class Revolutionist method generate_with_friendly_output (line 27) | def generate_with_friendly_output(filename:, single: false) method generate (line 32) | def generate(filename:, single: false) method init_analysis_as_array (line 38) | def init_analysis_as_array method spec_filename (line 42) | def spec_filename(filename) method single? (line 48) | def single?(opts, args) method initialize (line 53) | def initialize(file_list) method analyze_multiple (line 58) | def analyze_multiple(files) method adjusted_current (line 67) | def adjusted_current(index, total) method generate_rspec_for (line 71) | def generate_rspec_for(filename, spec_filename) method save_spec_file (line 94) | def save_spec_file(tmp_spec_filename, spec_filename) FILE: lib/zapata/analyst.rb type Zapata (line 3) | module Zapata class Analyst (line 4) | class Analyst method analyze (line 7) | def self.analyze(filename) method initialize (line 15) | def initialize(code) method clean (line 32) | def clean FILE: lib/zapata/cli.rb type Zapata (line 6) | module Zapata class CLI (line 7) | class CLI < Thor method generate (line 12) | def generate(filename) method version (line 19) | def version FILE: lib/zapata/core.rb type Zapata (line 8) | module Zapata type Core (line 9) | module Core FILE: lib/zapata/core/collector.rb type Zapata (line 3) | module Zapata type Core (line 4) | module Core class Collector (line 5) | class Collector method expand_dirs_to_files (line 6) | def self.expand_dirs_to_files(dirs) FILE: lib/zapata/core/loader.rb type Zapata (line 3) | module Zapata type Core (line 4) | module Core class Loader (line 5) | class Loader method spec_dir (line 7) | def spec_dir method rails_helper_path (line 11) | def rails_helper_path method spec_helper_path (line 15) | def spec_helper_path method helper_name (line 19) | def helper_name method full_helper_path (line 29) | def full_helper_path method load_spec_helper (line 38) | def load_spec_helper FILE: lib/zapata/core/reader.rb type Zapata (line 3) | module Zapata type Core (line 4) | module Core class Reader (line 5) | class Reader method parse (line 6) | def self.parse(filename) FILE: lib/zapata/core/writer.rb type Zapata (line 3) | module Zapata type Core (line 4) | module Core class Writer (line 5) | class Writer method initialize (line 6) | def initialize(filename) method clean (line 12) | def clean method append_line (line 18) | def append_line(line = '') method word_exists? (line 30) | def word_exists?(string, word) FILE: lib/zapata/db.rb type Zapata (line 3) | module Zapata class DB (line 4) | class DB method create (line 9) | def create(record) method all (line 19) | def all method destroy_all (line 23) | def destroy_all class SaveManager (line 29) | class SaveManager method clean (line 30) | def self.clean(name) FILE: lib/zapata/diver.rb type Zapata (line 3) | module Zapata class Diver (line 39) | class Diver method search_for (line 43) | def search_for(what) method dive (line 48) | def dive(code) method primitive_klass (line 64) | def primitive_klass(code) method find_primitive_type (line 71) | def find_primitive_type(code) method search_for_types (line 80) | def search_for_types method deeper_dives (line 84) | def deeper_dives(code) FILE: lib/zapata/predictor.rb type Zapata (line 7) | module Zapata type Predictor (line 8) | module Predictor FILE: lib/zapata/predictor/args.rb type Zapata (line 3) | module Zapata type Predictor (line 4) | module Predictor class Args (line 5) | class Args method literal (line 7) | def literal(args_node) method choose_values (line 15) | def choose_values(raw_args) FILE: lib/zapata/predictor/chooser.rb type Zapata (line 3) | module Zapata type Predictor (line 4) | module Predictor class Chooser (line 5) | class Chooser method initialize (line 6) | def initialize(possible_values) method by_probability (line 10) | def by_probability method by_count (line 18) | def by_count method group_with_counts (line 22) | def group_with_counts(values) FILE: lib/zapata/predictor/value.rb type Zapata (line 3) | module Zapata type Predictor (line 4) | module Predictor class Value (line 5) | class Value method initialize (line 8) | def initialize(name, finder = nil) method choose (line 13) | def choose method a_finder? (line 21) | def a_finder?(primitive) method possible_values (line 27) | def possible_values FILE: lib/zapata/primitive.rb type Zapata (line 25) | module Zapata type Primitive (line 26) | module Primitive FILE: lib/zapata/primitive/arg.rb type Zapata (line 3) | module Zapata type Primitive (line 4) | module Primitive class Arg (line 5) | class Arg < Base method node (line 6) | def node method to_raw (line 12) | def to_raw FILE: lib/zapata/primitive/array.rb type Zapata (line 3) | module Zapata type Primitive (line 4) | module Primitive class Array (line 5) | class Array < Base method node (line 6) | def node method to_a (line 12) | def to_a method to_raw (line 16) | def to_raw FILE: lib/zapata/primitive/base.rb type Zapata (line 3) | module Zapata type Primitive (line 4) | module Primitive class Base (line 5) | class Base method initialize (line 8) | def initialize(code) method name (line 13) | def name method dive_deeper (line 17) | def dive_deeper method to_raw (line 24) | def to_raw method return_with_super_as_missing (line 28) | def return_with_super_as_missing(raw, primitive) method return_with_missing_as_super (line 32) | def return_with_missing_as_super(raw, name) FILE: lib/zapata/primitive/basic.rb type Zapata (line 3) | module Zapata type Primitive (line 4) | module Primitive class Basic (line 5) | class Basic < Base method to_a (line 6) | def to_a method node (line 10) | def node method to_raw (line 16) | def to_raw FILE: lib/zapata/primitive/casgn.rb type Zapata (line 3) | module Zapata type Primitive (line 4) | module Primitive class Casgn (line 5) | class Casgn < Base method node (line 6) | def node method literal (line 12) | def literal FILE: lib/zapata/primitive/const.rb type Zapata (line 3) | module Zapata type Primitive (line 4) | module Primitive class Const (line 5) | class Const < Basic method node (line 6) | def node method to_raw (line 12) | def to_raw FILE: lib/zapata/primitive/const_send.rb type Zapata (line 3) | module Zapata type Primitive (line 4) | module Primitive class ConstSend (line 5) | class ConstSend method initialize (line 6) | def initialize(raw_receiver, method_name, args) method node (line 12) | def node method to_raw (line 16) | def to_raw FILE: lib/zapata/primitive/def.rb type Zapata (line 3) | module Zapata type Primitive (line 4) | module Primitive class Def (line 5) | class Def < Base method initialize (line 8) | def initialize(code) method self? (line 16) | def self? method public? (line 20) | def public? method node (line 24) | def node method literal_predicted_args (line 30) | def literal_predicted_args FILE: lib/zapata/primitive/defs.rb type Zapata (line 3) | module Zapata type Primitive (line 4) | module Primitive class Defs (line 5) | class Defs < Base method initialize (line 8) | def initialize(code) method self? (line 15) | def self? method public? (line 19) | def public? method node (line 23) | def node method literal_predicted_args (line 29) | def literal_predicted_args FILE: lib/zapata/primitive/hash.rb type Zapata (line 3) | module Zapata type Primitive (line 4) | module Primitive class Hash (line 5) | class Hash < Base method node (line 6) | def node method to_a (line 12) | def to_a method to_raw (line 16) | def to_raw FILE: lib/zapata/primitive/ivar.rb type Zapata (line 3) | module Zapata type Primitive (line 4) | module Primitive class Ivar (line 5) | class Ivar < Basic FILE: lib/zapata/primitive/klass.rb type Zapata (line 3) | module Zapata type Primitive (line 4) | module Primitive class Klass (line 5) | class Klass < Base method initialize (line 6) | def initialize(code) method parent_modul_names (line 15) | def parent_modul_names method node (line 19) | def node FILE: lib/zapata/primitive/lvar.rb type Zapata (line 3) | module Zapata type Primitive (line 4) | module Primitive class Lvar (line 5) | class Lvar < Base method node (line 6) | def node method to_raw (line 12) | def to_raw FILE: lib/zapata/primitive/missing.rb type Zapata (line 3) | module Zapata type Primitive (line 4) | module Primitive class Missing (line 5) | class Missing method initialize (line 6) | def initialize(name) method node (line 10) | def node method to_raw (line 14) | def to_raw FILE: lib/zapata/primitive/modul.rb type Zapata (line 3) | module Zapata type Primitive (line 4) | module Primitive class Modul (line 5) | class Modul < Base method initialize (line 6) | def initialize(code) method node (line 13) | def node FILE: lib/zapata/primitive/nil.rb type Zapata (line 3) | module Zapata type Primitive (line 4) | module Primitive class Nil (line 5) | class Nil < Basic method initialize (line 6) | def initialize method node (line 9) | def node method to_raw (line 13) | def to_raw FILE: lib/zapata/primitive/optarg.rb type Zapata (line 3) | module Zapata type Primitive (line 4) | module Primitive class Optarg (line 5) | class Optarg < Base method node (line 6) | def node method to_raw (line 12) | def to_raw FILE: lib/zapata/primitive/raw.rb type Zapata (line 3) | module Zapata type Primitive (line 4) | module Primitive class Raw (line 5) | class Raw method initialize (line 8) | def initialize(type, value) method to_raw (line 13) | def to_raw FILE: lib/zapata/primitive/send.rb type Zapata (line 3) | module Zapata type Primitive (line 4) | module Primitive class Send (line 5) | class Send < Base method initialize (line 6) | def initialize(code) method to_a (line 18) | def to_a method node (line 22) | def node method raw_receiver (line 28) | def raw_receiver method to_raw (line 34) | def to_raw FILE: lib/zapata/primitive/sklass.rb type Zapata (line 3) | module Zapata type Primitive (line 4) | module Primitive class Sklass (line 5) | class Sklass < Base method initialize (line 6) | def initialize(code) method node (line 14) | def node FILE: lib/zapata/primitive/var.rb type Zapata (line 3) | module Zapata type Primitive (line 4) | module Primitive class Var (line 5) | class Var < Base method node (line 6) | def node method literal (line 12) | def literal method to_raw (line 16) | def to_raw FILE: lib/zapata/printer.rb type Zapata (line 3) | module Zapata class Printer (line 4) | class Printer method print (line 8) | def print(raw, args: false) method to_var_name (line 39) | def to_var_name(name) method array (line 45) | def array(given) method str (line 51) | def str(raw) method sym (line 57) | def sym(raw) method ivar (line 61) | def ivar(raw) method missing (line 66) | def missing(raw) method argize (line 70) | def argize(value, type) method hash (line 83) | def hash(given) method print_hash_pair (line 94) | def print_hash_pair(key, val, symbol_keys) method all_keys_symbols? (line 98) | def all_keys_symbols?(hash) method unnest (line 105) | def unnest(raw) FILE: lib/zapata/rzpec/runner.rb type Zapata (line 3) | module Zapata type RZpec (line 4) | module RZpec class Runner (line 5) | class Runner method initialize (line 8) | def initialize(spec_filename) method silence (line 14) | def silence method methodz (line 27) | def methodz method result_message (line 31) | def result_message(method_name) method expected (line 35) | def expected(method_name) method run (line 52) | def run method examples (line 60) | def examples method parsed_json_result (line 64) | def parsed_json_result FILE: lib/zapata/rzpec/writer.rb type Zapata (line 3) | module Zapata type RZpec (line 4) | module RZpec class Writer (line 5) | class Writer method reset_ivars (line 9) | def reset_ivars method initialize (line 14) | def initialize(file, _code, subject_analysis, whole_analysis, spec... method write_require (line 31) | def write_require method klasses (line 35) | def klasses method klass_defs (line 39) | def klass_defs(klass) method initialize_def (line 46) | def initialize_def(klass) method write_class (line 50) | def write_class(klass) method write_instance_let (line 69) | def write_instance_let(klass) method write_let (line 77) | def write_let(name, block) method write_let_from_initialize (line 83) | def write_let_from_initialize(initialize_def) method write_method (line 88) | def write_method(primitive_def) method write_equal (line 108) | def write_equal(method_name) FILE: lib/zapata/version.rb type Zapata (line 3) | module Zapata FILE: spec/spec_helper.rb function execution_output (line 21) | def execution_output(command) function clean (line 30) | def clean(string) function expected (line 34) | def expected(code) function exec_generation (line 42) | def exec_generation(generate_for) function has_block (line 66) | def has_block(name, expected_content) FILE: spec/support/rails_test_app/app/controllers/application_controller.rb class ApplicationController (line 1) | class ApplicationController < ActionController::Base FILE: spec/support/rails_test_app/app/helpers/application_helper.rb type ApplicationHelper (line 1) | module ApplicationHelper FILE: spec/support/rails_test_app/app/models/robot_to_test.rb class RobotToTest (line 1) | class RobotToTest method initialize (line 2) | def initialize(human_name, _cv) method robot_name (line 6) | def robot_name(human_name) method cv (line 10) | def cv method nested_fun_objects (line 14) | def nested_fun_objects(_fun_objects) method prefix (line 18) | def self.prefix method planets (line 24) | def planets method fun_objects (line 28) | def fun_objects method nested_hash (line 32) | def nested_hash method array (line 36) | def array class Human (line 41) | class Human method initialize (line 42) | def initialize method home (line 46) | def self.home FILE: spec/support/rails_test_app/app/models/test_array.rb class TestArray (line 1) | class TestArray method initialize (line 2) | def initialize method test_in_arg (line 5) | def test_in_arg(numbers_array) method test_nested_one_level (line 9) | def test_nested_one_level(nested_one_level) method test_nested_two_levels (line 13) | def test_nested_two_levels(nested_two_levels) method test_nested_three_levels (line 17) | def test_nested_three_levels(nested_three_levels) method test_hash_nested (line 21) | def test_hash_nested(hash_nested) method data_to_analyze (line 27) | def data_to_analyze FILE: spec/support/rails_test_app/app/models/test_const.rb class TestConst (line 1) | class TestConst method initialize (line 2) | def initialize method test_const_in_arg (line 5) | def test_const_in_arg(const) method data_to_analyze (line 11) | def data_to_analyze FILE: spec/support/rails_test_app/app/models/test_definition.rb class TestDefinition (line 1) | class TestDefinition method in_optional_args (line 2) | def in_optional_args(optional = :audioslave) method use_optional (line 6) | def use_optional(optional) method var_in_optional_args (line 10) | def var_in_optional_args(optional_var = fallback) method method_in_optional_args (line 14) | def method_in_optional_args(optional_method = fall_meth) method call_method_result_in_optional_args (line 18) | def call_method_result_in_optional_args(complex_method = fall_meth.first) method should_not_show_empty_method (line 22) | def should_not_show_empty_method method recursive_method (line 25) | def recursive_method method fall_meth (line 31) | def fall_meth method data_to_analyze (line 35) | def data_to_analyze FILE: spec/support/rails_test_app/app/models/test_float.rb class TestFloat (line 1) | class TestFloat method initialize (line 2) | def initialize method test_float_in_arg (line 5) | def test_float_in_arg(float) method data_to_analyze (line 11) | def data_to_analyze FILE: spec/support/rails_test_app/app/models/test_hash.rb class TestHash (line 1) | class TestHash method initialize (line 2) | def initialize method test_in_arg (line 5) | def test_in_arg(hash) method test_nested_one_level (line 9) | def test_nested_one_level(one_level_nested_hash) method test_nested_two_levels (line 13) | def test_nested_two_levels(two_levels_nested_hash) method test_nested_three_levels (line 17) | def test_nested_three_levels(three_levels_nested_hash) method test_key_as_another_hash (line 21) | def test_key_as_another_hash(key_as_another_hash) method test_keys_are_symbols (line 25) | def test_keys_are_symbols(pretty_hash) method data_to_analyze (line 31) | def data_to_analyze FILE: spec/support/rails_test_app/app/models/test_int.rb class TestInt (line 1) | class TestInt method initialize (line 2) | def initialize method test_int_in_arg (line 5) | def test_int_in_arg(int) method data_to_analyze (line 11) | def data_to_analyze FILE: spec/support/rails_test_app/app/models/test_send.rb class TestSend (line 1) | class TestSend method another_method_as_arg (line 2) | def another_method_as_arg(help_method) method second_level_method_chain (line 6) | def second_level_method_chain(second_level_method) method third_level_method_chain (line 10) | def third_level_method_chain(third_level_method) method method_with_calculated_value (line 14) | def method_with_calculated_value(calculated_value) method to_another_object (line 18) | def to_another_object(another_object_method) method to_another_object_with_params (line 22) | def to_another_object_with_params(send_with_params) method not_explicit_with_params (line 26) | def not_explicit_with_params(not_explicit) method fail_to_understand (line 30) | def fail_to_understand(failure) method help_method (line 36) | def help_method method second_level_method (line 40) | def second_level_method method third_level_method (line 44) | def third_level_method method calculated_value (line 48) | def calculated_value method not_explicit (line 52) | def not_explicit(_name) method failure (line 56) | def failure(name) method data_to_analyze (line 61) | def data_to_analyze class AnotherObject (line 67) | class AnotherObject method my_name (line 68) | def self.my_name method send_with_params (line 72) | def self.send_with_params(id) FILE: spec/support/rails_test_app/app/models/test_str.rb class TestStr (line 1) | class TestStr method initialize (line 2) | def initialize method test_str_in_arg (line 5) | def test_str_in_arg(str) method data_to_analyze (line 11) | def data_to_analyze FILE: spec/support/rails_test_app/app/models/test_sym.rb class TestSym (line 1) | class TestSym method initialize (line 2) | def initialize method test_sym_in_arg (line 5) | def test_sym_in_arg(sym) method data_to_analyze (line 11) | def data_to_analyze FILE: spec/support/rails_test_app/app/models/testing_module/bare.rb type TestingModule (line 1) | module TestingModule class Bare (line 2) | class Bare method initialize (line 3) | def initialize FILE: spec/support/rails_test_app/app/models/testing_module/klass_methods.rb type TestingModule (line 1) | module TestingModule class KlassMethods (line 2) | class KlassMethods method defined_with_self (line 3) | def self.defined_with_self(klass_methods_int) method defined_with_back_back_self (line 8) | def defined_with_back_back_self(klass_methods_int) method privately_defined_with_back_back_self (line 16) | def privately_defined_with_back_back_self(klass_methods_int) method privately_defined_with_self (line 21) | def self.privately_defined_with_self(klass_methods_int) method protectedly_defined_with_back_back_self (line 28) | def protectedly_defined_with_back_back_self(klass_methods_int) method protectedly_defined_with_self (line 33) | def self.protectedly_defined_with_self(klass_methods_int) method data_to_analyze (line 37) | def data_to_analyze method back_to_public_defined_with_self (line 43) | def self.back_to_public_defined_with_self(klass_methods_int) FILE: spec/support/rails_test_app/app/models/testing_module/nested/inside.rb type TestingModule (line 1) | module TestingModule type Nested (line 2) | module Nested class Inside (line 3) | class Inside method initialize (line 4) | def initialize FILE: spec/support/rails_test_app/config/application.rb type RailsTestApp (line 9) | module RailsTestApp class Application (line 10) | class Application < Rails::Application