test/fixtures/elixir/inch_test/all.json in inch-0.6.2 vs test/fixtures/elixir/inch_test/all.json in inch-0.6.3

- old
+ new

@@ -1,182 +1,182 @@ { - "args": [], - "git_repo_url": "git@github.com:inch-ci/Hello-World-Elixir.git", + "args": [ + "list" + ], + "branch_name": "master", + "client_name": "inch_ex", + "client_version": "0.3.3", + "git_repo_url": "https://github.com/inch-ci/Hello-World-Elixir.git", "language": "elixir", "objects": [ { "id": "InchTest", "module": "Elixir.InchTest", "moduledoc": null, "object_type": "ModuleObject", - "source": null, - "type": null, - "typespecs": [] + "source": "lib/inch_test.ex:1", + "type": null }, { + "id": "InchTest.Callbacks", + "module": "Elixir.InchTest.Callbacks", + "moduledoc": null, + "object_type": "ModuleObject", + "source": "lib/inch_test/callbacks.ex:1", + "type": "behaviour" + }, + { "id": "InchTest.CodeExamples", "module": "Elixir.InchTest.CodeExamples", "moduledoc": null, "object_type": "ModuleObject", - "source": null, - "type": null, - "typespecs": [] + "source": "lib/inch_test/code_examples.ex:1", + "type": null }, { "id": "InchTest.Config", "module": "Elixir.InchTest.Config", "moduledoc": null, "object_type": "ModuleObject", - "source": null, - "type": null, - "typespecs": [] + "source": "lib/inch_test.ex:2", + "type": null }, { "id": "InchTest.Docs.Formatter", "module": "Elixir.InchTest.Docs.Formatter", "moduledoc": "Provide JSON-formatted documentation\n", "object_type": "ModuleObject", - "source": null, - "type": null, - "typespecs": [] + "source": "lib/inch_test/docs/formatter.ex:3", + "type": null }, { "id": "InchTest.Docs.Retriever", "module": "Elixir.InchTest.Docs.Retriever", "moduledoc": "Functions to extract documentation information from modules.\n", "object_type": "ModuleObject", - "source": null, - "type": null, - "typespecs": [] + "source": "lib/inch_test/docs/retriever.ex:24", + "type": null }, { "id": "InchTest.Docs.Retriever.Error", "module": "Elixir.InchTest.Docs.Retriever.Error", "moduledoc": null, "object_type": "ModuleObject", - "source": null, - "type": "exception", - "typespecs": [] + "source": "lib/inch_test/docs/retriever.ex:20", + "type": "exception" }, { "id": "InchTest.FunctionObject", "module": "Elixir.InchTest.FunctionObject", "moduledoc": null, "object_type": "ModuleObject", - "source": null, - "type": null, - "typespecs": [] + "source": "lib/inch_test/docs/retriever.ex:10", + "type": null }, { "id": "InchTest.Functions", "module": "Elixir.InchTest.Functions", "moduledoc": " In this module we define funs that are \"cases\" for our test suite.\n", "object_type": "ModuleObject", - "source": "lib/inch_test/functions.ex:9", - "type": null, - "typespecs": [] + "source": "lib/inch_test/functions.ex:1", + "type": null }, { "id": "InchTest.Html", "module": "Elixir.InchTest.Html", "moduledoc": null, "object_type": "ModuleObject", - "source": null, - "type": null, - "typespecs": [] + "source": "lib/inch_test/html.ex:3", + "type": null }, { "id": "InchTest.Html.Safe", "module": "Elixir.InchTest.Html.Safe", "moduledoc": null, "object_type": "ModuleObject", - "source": null, - "type": "protocol", - "typespecs": [ - "[Elixir.Any]" - ] + "source": "lib/inch_test/html.ex:19", + "type": "protocol" }, { "id": "InchTest.Html.Safe.Atom", "module": "Elixir.InchTest.Html.Safe.Atom", "moduledoc": null, "object_type": "ModuleObject", - "source": null, - "type": "impl", - "typespecs": [] + "source": "lib/inch_test/html.ex:23", + "type": "impl" }, { "id": "InchTest.Html.Safe.BitString", "module": "Elixir.InchTest.Html.Safe.BitString", "moduledoc": null, "object_type": "ModuleObject", - "source": null, - "type": "impl", - "typespecs": [] + "source": "lib/inch_test/html.ex:28", + "type": "impl" }, { "id": "InchTest.Html.Safe.Float", "module": "Elixir.InchTest.Html.Safe.Float", "moduledoc": null, "object_type": "ModuleObject", - "source": null, - "type": "impl", - "typespecs": [] + "source": "lib/inch_test/html.ex:66", + "type": "impl" }, { "id": "InchTest.Html.Safe.Integer", "module": "Elixir.InchTest.Html.Safe.Integer", "moduledoc": null, "object_type": "ModuleObject", - "source": null, - "type": "impl", - "typespecs": [] + "source": "lib/inch_test/html.ex:62", + "type": "impl" }, { "id": "InchTest.Html.Safe.List", "module": "Elixir.InchTest.Html.Safe.List", "moduledoc": null, "object_type": "ModuleObject", - "source": null, - "type": "impl", - "typespecs": [] + "source": "lib/inch_test/html.ex:34", + "type": "impl" }, { "id": "InchTest.Html.Safe.Tuple", "module": "Elixir.InchTest.Html.Safe.Tuple", "moduledoc": null, "object_type": "ModuleObject", - "source": null, - "type": "impl", - "typespecs": [] + "source": "lib/inch_test/html.ex:72", + "type": "impl" }, { + "id": "InchTest.Macros", + "module": "Elixir.InchTest.Macros", + "moduledoc": null, + "object_type": "ModuleObject", + "source": "lib/inch_test/macros.ex:1", + "type": null + }, + { "id": "InchTest.ModuleObject", "module": "Elixir.InchTest.ModuleObject", "moduledoc": null, "object_type": "ModuleObject", - "source": null, - "type": null, - "typespecs": [] + "source": "lib/inch_test/docs/retriever.ex:5", + "type": null }, { "id": "InchTest.Naming", "module": "Elixir.InchTest.Naming", "moduledoc": null, "object_type": "ModuleObject", - "source": null, - "type": null, - "typespecs": [] + "source": "lib/inch_test/naming.ex:3", + "type": null }, { "id": "InchTest.TypeObject", "module": "Elixir.InchTest.TypeObject", "moduledoc": null, "object_type": "ModuleObject", - "source": null, - "type": null, - "typespecs": [] + "source": "lib/inch_test/docs/retriever.ex:15", + "type": null }, { "arity": 4, "doc": false, "id": "generate_docs/4", @@ -203,36 +203,83 @@ "options", [], null ] ], - "source": null, - "specs": [], + "source": "lib/inch_test.ex:12", "type": "def" }, { + "arity": 1, + "doc": "Informs the given message.\n", + "id": "full_doc/1", + "module_id": "InchTest.Callbacks", + "name": "full_doc", + "object_type": "FunctionObject", + "signature": null, + "source": "lib/inch_test/callbacks.ex:7", + "type": "defcallback" + }, + { + "arity": 1, + "doc": null, + "id": "missing_doc/1", + "module_id": "InchTest.Callbacks", + "name": "missing_doc", + "object_type": "FunctionObject", + "signature": null, + "source": "lib/inch_test/callbacks.ex:12", + "type": "defcallback" + }, + { + "arity": 1, + "doc": false, + "id": "no_doc/1", + "module_id": "InchTest.Callbacks", + "name": "no_doc", + "object_type": "FunctionObject", + "signature": null, + "source": "lib/inch_test/callbacks.ex:10", + "type": "defcallback" + }, + { + "arity": 1, + "doc": false, + "id": "__behaviour__/1", + "module_id": "InchTest.Callbacks", + "name": "__behaviour__", + "object_type": "FunctionObject", + "signature": [ + [ + "atom1", + [], + "Elixir" + ] + ], + "source": "lib/inch_test/callbacks.ex:1", + "type": "def" + }, + { "arity": 0, "doc": "Converts String to underscore case\n\n## Examples\n\n iex> InchTest.Naming.underscore(\"MyApp\")\n \"my_app\"\n\n iex> InchTest.Naming.underscore(\"my-app\")\n \"my_app\"\n\nIn general, `underscore` can be thought of as the reverse of\n`camelize`, however, in some cases formatting may be lost:\n\n Naming.underscore \"SAPExample\" #=> \"sap_example\"\n Naming.camelize \"sap_example\" #=> \"SapExample\"\n\n", "id": "multiple_code_examples/0", "module_id": "InchTest.CodeExamples", "name": "multiple_code_examples", "object_type": "FunctionObject", "signature": [], - "source": null, - "specs": [], + "source": "lib/inch_test/code_examples.ex:33", "type": "def" }, { "arity": 0, "doc": "Extracts the resource name from an alias\n\n## Examples\n\n iex> InchTest.Naming.resource_name(MyApp.User)\n \"user\"\n iex> InchTest.Naming.resource_name(MyApp.UserView, \"View\")\n \"user\"\n", "id": "single_code_example/0", "module_id": "InchTest.CodeExamples", "name": "single_code_example", "object_type": "FunctionObject", "signature": [], - "source": null, - "specs": [], + "source": "lib/inch_test/code_examples.ex:12", "type": "def" }, { "arity": 3, "doc": "Generate JSON documentation for the given modules\n", @@ -255,12 +302,11 @@ "config", [], null ] ], - "source": null, - "specs": [], + "source": "lib/inch_test/docs/formatter.ex:11", "type": "def" }, { "arity": 2, "doc": "Extract documentation from all modules in the specified directory\n", @@ -278,12 +324,11 @@ "config", [], null ] ], - "source": null, - "specs": [], + "source": "lib/inch_test/docs/retriever.ex:32", "type": "def" }, { "arity": 2, "doc": "Extract documentation from all modules in the specified list of files\n", @@ -301,12 +346,11 @@ "config", [], null ] ], - "source": null, - "specs": [], + "source": "lib/inch_test/docs/retriever.ex:38", "type": "def" }, { "arity": 2, "doc": "Extract documentation from all modules in the list `modules`\n", @@ -324,17 +368,16 @@ "config", [], null ] ], - "source": null, - "specs": [], + "source": "lib/inch_test/docs/retriever.ex:44", "type": "def" }, { "arity": 1, - "doc": "Callback implementation of `Exception.exception/1`.", + "doc": false, "id": "exception/1", "module_id": "InchTest.Docs.Retriever.Error", "name": "exception", "object_type": "FunctionObject", "signature": [ @@ -342,66 +385,16 @@ "args", [], null ] ], - "source": null, - "specs": [ - [ - "::", - { - "line": 21 - }, - [ - [ - "exception", - { - "line": 21 - }, - [ - [ - [ - ".", - { - "line": 21 - }, - [ - "Elixir.Keyword", - "t" - ] - ], - { - "line": 21 - }, - [] - ] - ] - ], - [ - [ - ".", - { - "line": 21 - }, - [ - "Elixir.Exception", - "t" - ] - ], - { - "line": 21 - }, - [] - ] - ] - ] - ], + "source": "lib/inch_test/docs/retriever.ex:21", "type": "def" }, { "arity": 1, - "doc": "Callback implementation of `Exception.message/1`.", + "doc": false, "id": "message/1", "module_id": "InchTest.Docs.Retriever.Error", "name": "message", "object_type": "FunctionObject", "signature": [ @@ -409,61 +402,11 @@ "exception", [], null ] ], - "source": null, - "specs": [ - [ - "::", - { - "line": 21 - }, - [ - [ - "message", - { - "line": 21 - }, - [ - [ - [ - ".", - { - "line": 21 - }, - [ - "Elixir.Exception", - "t" - ] - ], - { - "line": 21 - }, - [] - ] - ] - ], - [ - [ - ".", - { - "line": 21 - }, - [ - "Elixir.String", - "t" - ] - ], - { - "line": 21 - }, - [] - ] - ] - ] - ], + "source": "lib/inch_test/docs/retriever.ex:21", "type": "def" }, { "arity": 2, "doc": "This fun takes `param1` and `param2` as arguments.\n\n## Examples\n\n iex> InchTest.Naming.resource_name(MyApp.User)\n \"user\"\n iex> InchTest.Naming.resource_name(MyApp.UserView, \"View\")\n \"user\"\n", @@ -481,12 +424,11 @@ "param2", [], null ] ], - "source": null, - "specs": [], + "source": "lib/inch_test/functions.ex:16", "type": "def" }, { "arity": 2, "doc": "This fun takes a `param1` and a second parameter that is never used\n(maybe, because it is a callback or something like that). However, the\nsecond param should impact the evaluation by Inch.\n\n## Examples\n\n iex> InchTest.Naming.resource_name(MyApp.User)\n \"user\"\n iex> InchTest.Naming.resource_name(MyApp.UserView, \"View\")\n \"user\"\n", @@ -504,12 +446,11 @@ "", [], "Elixir" ] ], - "source": null, - "specs": [], + "source": "lib/inch_test/functions.ex:31", "type": "def" }, { "arity": 1, "doc": null, @@ -522,12 +463,11 @@ "buffer", [], null ] ], - "source": null, - "specs": [], + "source": "lib/inch_test/html.ex:76", "type": "def" }, { "arity": 1, "doc": null, @@ -540,12 +480,11 @@ "value", [], null ] ], - "source": null, - "specs": [], + "source": "lib/inch_test/html.ex:14", "type": "def" }, { "arity": 1, "doc": null, @@ -558,12 +497,11 @@ "value", [], null ] ], - "source": null, - "specs": [], + "source": "lib/inch_test/html.ex:16", "type": "def" }, { "arity": 1, "doc": false, @@ -576,67 +514,11 @@ "atom1", [], "Elixir" ] ], - "source": null, - "specs": [ - [ - "::", - { - "line": 19 - }, - [ - [ - "__protocol__", - { - "line": 19 - }, - [ - "functions" - ] - ], - [ - [ - "{}", - { - "line": 0 - }, - [ - "to_string", - 1 - ] - ], - [ - "...", - { - "line": 0 - }, - null - ] - ] - ] - ], - [ - "::", - { - "line": 19 - }, - [ - [ - "__protocol__", - { - "line": 19 - }, - [ - "name" - ] - ], - "Elixir.InchTest.Html.Safe" - ] - ] - ], + "source": "lib/inch_test/html.ex:19", "type": "def" }, { "arity": 1, "doc": null, @@ -649,12 +531,11 @@ "data", [], null ] ], - "source": null, - "specs": [], + "source": "lib/inch_test/html.ex:20", "type": "def" }, { "arity": 1, "doc": false, @@ -667,72 +548,16 @@ "atom1", [], "Elixir" ] ], - "source": null, - "specs": [ - [ - "::", - { - "line": 23 - }, - [ - [ - "__impl__", - { - "line": 23 - }, - [ - "protocol" - ] - ], - "Elixir.InchTest.Html.Safe" - ] - ], - [ - "::", - { - "line": 23 - }, - [ - [ - "__impl__", - { - "line": 23 - }, - [ - "target" - ] - ], - "Elixir.InchTest.Html.Safe.Atom" - ] - ], - [ - "::", - { - "line": 23 - }, - [ - [ - "__impl__", - { - "line": 23 - }, - [ - "for" - ] - ], - "Elixir.Atom" - ] - ] - ], + "source": "lib/inch_test/html.ex:23", "type": "def" }, { "arity": 1, - "doc": "Callback implementation of `InchTest.Html.Safe.to_string/1`.", + "doc": false, "id": "to_string/1", "module_id": "InchTest.Html.Safe.Atom", "name": "to_string", "object_type": "FunctionObject", "signature": [ @@ -740,12 +565,11 @@ "atom", [], null ] ], - "source": null, - "specs": [], + "source": "lib/inch_test/html.ex:24", "type": "def" }, { "arity": 1, "doc": false, @@ -758,72 +582,16 @@ "atom1", [], "Elixir" ] ], - "source": null, - "specs": [ - [ - "::", - { - "line": 28 - }, - [ - [ - "__impl__", - { - "line": 28 - }, - [ - "protocol" - ] - ], - "Elixir.InchTest.Html.Safe" - ] - ], - [ - "::", - { - "line": 28 - }, - [ - [ - "__impl__", - { - "line": 28 - }, - [ - "target" - ] - ], - "Elixir.InchTest.Html.Safe.BitString" - ] - ], - [ - "::", - { - "line": 28 - }, - [ - [ - "__impl__", - { - "line": 28 - }, - [ - "for" - ] - ], - "Elixir.BitString" - ] - ] - ], + "source": "lib/inch_test/html.ex:28", "type": "def" }, { "arity": 1, - "doc": "Callback implementation of `InchTest.Html.Safe.to_string/1`.", + "doc": false, "id": "to_string/1", "module_id": "InchTest.Html.Safe.BitString", "name": "to_string", "object_type": "FunctionObject", "signature": [ @@ -831,12 +599,11 @@ "data", [], null ] ], - "source": null, - "specs": [], + "source": "lib/inch_test/html.ex:29", "type": "def" }, { "arity": 1, "doc": false, @@ -849,72 +616,16 @@ "atom1", [], "Elixir" ] ], - "source": null, - "specs": [ - [ - "::", - { - "line": 66 - }, - [ - [ - "__impl__", - { - "line": 66 - }, - [ - "protocol" - ] - ], - "Elixir.InchTest.Html.Safe" - ] - ], - [ - "::", - { - "line": 66 - }, - [ - [ - "__impl__", - { - "line": 66 - }, - [ - "target" - ] - ], - "Elixir.InchTest.Html.Safe.Float" - ] - ], - [ - "::", - { - "line": 66 - }, - [ - [ - "__impl__", - { - "line": 66 - }, - [ - "for" - ] - ], - "Elixir.Float" - ] - ] - ], + "source": "lib/inch_test/html.ex:66", "type": "def" }, { "arity": 1, - "doc": "Callback implementation of `InchTest.Html.Safe.to_string/1`.", + "doc": false, "id": "to_string/1", "module_id": "InchTest.Html.Safe.Float", "name": "to_string", "object_type": "FunctionObject", "signature": [ @@ -922,12 +633,11 @@ "data", [], null ] ], - "source": null, - "specs": [], + "source": "lib/inch_test/html.ex:67", "type": "def" }, { "arity": 1, "doc": false, @@ -940,72 +650,16 @@ "atom1", [], "Elixir" ] ], - "source": null, - "specs": [ - [ - "::", - { - "line": 62 - }, - [ - [ - "__impl__", - { - "line": 62 - }, - [ - "protocol" - ] - ], - "Elixir.InchTest.Html.Safe" - ] - ], - [ - "::", - { - "line": 62 - }, - [ - [ - "__impl__", - { - "line": 62 - }, - [ - "target" - ] - ], - "Elixir.InchTest.Html.Safe.Integer" - ] - ], - [ - "::", - { - "line": 62 - }, - [ - [ - "__impl__", - { - "line": 62 - }, - [ - "for" - ] - ], - "Elixir.Integer" - ] - ] - ], + "source": "lib/inch_test/html.ex:62", "type": "def" }, { "arity": 1, - "doc": "Callback implementation of `InchTest.Html.Safe.to_string/1`.", + "doc": false, "id": "to_string/1", "module_id": "InchTest.Html.Safe.Integer", "name": "to_string", "object_type": "FunctionObject", "signature": [ @@ -1013,12 +667,11 @@ "data", [], null ] ], - "source": null, - "specs": [], + "source": "lib/inch_test/html.ex:63", "type": "def" }, { "arity": 1, "doc": false, @@ -1031,72 +684,16 @@ "atom1", [], "Elixir" ] ], - "source": null, - "specs": [ - [ - "::", - { - "line": 34 - }, - [ - [ - "__impl__", - { - "line": 34 - }, - [ - "protocol" - ] - ], - "Elixir.InchTest.Html.Safe" - ] - ], - [ - "::", - { - "line": 34 - }, - [ - [ - "__impl__", - { - "line": 34 - }, - [ - "target" - ] - ], - "Elixir.InchTest.Html.Safe.List" - ] - ], - [ - "::", - { - "line": 34 - }, - [ - [ - "__impl__", - { - "line": 34 - }, - [ - "for" - ] - ], - "Elixir.List" - ] - ] - ], + "source": "lib/inch_test/html.ex:34", "type": "def" }, { "arity": 1, - "doc": "Callback implementation of `InchTest.Html.Safe.to_string/1`.", + "doc": false, "id": "to_string/1", "module_id": "InchTest.Html.Safe.List", "name": "to_string", "object_type": "FunctionObject", "signature": [ @@ -1104,12 +701,11 @@ "list", [], null ] ], - "source": null, - "specs": [], + "source": "lib/inch_test/html.ex:35", "type": "def" }, { "arity": 1, "doc": false, @@ -1122,72 +718,16 @@ "atom1", [], "Elixir" ] ], - "source": null, - "specs": [ - [ - "::", - { - "line": 72 - }, - [ - [ - "__impl__", - { - "line": 72 - }, - [ - "protocol" - ] - ], - "Elixir.InchTest.Html.Safe" - ] - ], - [ - "::", - { - "line": 72 - }, - [ - [ - "__impl__", - { - "line": 72 - }, - [ - "target" - ] - ], - "Elixir.InchTest.Html.Safe.Tuple" - ] - ], - [ - "::", - { - "line": 72 - }, - [ - [ - "__impl__", - { - "line": 72 - }, - [ - "for" - ] - ], - "Elixir.Tuple" - ] - ] - ], + "source": "lib/inch_test/html.ex:72", "type": "def" }, { "arity": 1, - "doc": "Callback implementation of `InchTest.Html.Safe.to_string/1`.", + "doc": false, "id": "to_string/1", "module_id": "InchTest.Html.Safe.Tuple", "name": "to_string", "object_type": "FunctionObject", "signature": [ @@ -1195,15 +735,47 @@ "arg1", [], "Elixir" ] ], - "source": null, - "specs": [], + "source": "lib/inch_test/html.ex:73", "type": "def" }, { + "arity": 0, + "doc": "Another example", + "id": "full_doc/0", + "module_id": "InchTest.Macros", + "name": "full_doc", + "object_type": "FunctionObject", + "signature": [], + "source": "lib/inch_test/macros.ex:3", + "type": "defmacro" + }, + { + "arity": 0, + "doc": null, + "id": "missing_doc/0", + "module_id": "InchTest.Macros", + "name": "missing_doc", + "object_type": "FunctionObject", + "signature": [], + "source": "lib/inch_test/macros.ex:8", + "type": "defmacro" + }, + { + "arity": 0, + "doc": false, + "id": "no_doc/0", + "module_id": "InchTest.Macros", + "name": "no_doc", + "object_type": "FunctionObject", + "signature": [], + "source": "lib/inch_test/macros.ex:6", + "type": "defmacro" + }, + { "arity": 1, "doc": "Converts String to camel case\n\n## Examples\n\n iex> InchTest.Naming.camelize(\"my_app\")\n \"MyApp\"\n\nIn general, `camelize` can be thought of as the reverse of\n`underscore`, however, in some cases formatting may be lost:\n\n InchTest.Naming.underscore \"SAPExample\" #=> \"sap_example\"\n InchTest.Naming.camelize \"sap_example\" #=> \"SapExample\"\n\n", "id": "camelize/1", "module_id": "InchTest.Naming", "name": "camelize", @@ -1213,12 +785,11 @@ "arg1", [], "Elixir" ] ], - "source": null, - "specs": [], + "source": "lib/inch_test/naming.ex:106", "type": "def" }, { "arity": 1, "doc": null, @@ -1231,12 +802,11 @@ "arg1", [], "Elixir" ] ], - "source": null, - "specs": [], + "source": "lib/inch_test/naming.ex:116", "type": "def" }, { "arity": 2, "doc": null, @@ -1254,12 +824,11 @@ "prev", [], null ] ], - "source": null, - "specs": [], + "source": "lib/inch_test/naming.ex:58", "type": "def" }, { "arity": 2, "doc": null, @@ -1277,12 +846,11 @@ "suffix", [], null ] ], - "source": null, - "specs": [], + "source": "lib/inch_test/naming.ex:23", "type": "def" }, { "arity": 2, "doc": "Extracts the resource name from an alias\n\n## Examples\n\n iex> InchTest.Naming.resource_name(MyApp.User)\n \"user\"\n iex> InchTest.Naming.resource_name(MyApp.UserView, \"View\")\n \"user\"\n\n", @@ -1307,12 +875,11 @@ ], null ] ] ], - "source": null, - "specs": [], + "source": "lib/inch_test/naming.ex:15", "type": "def" }, { "arity": 1, "doc": null, @@ -1325,12 +892,11 @@ "char", [], null ] ], - "source": null, - "specs": [], + "source": "lib/inch_test/naming.ex:88", "type": "def" }, { "arity": 1, "doc": null, @@ -1343,12 +909,11 @@ "char", [], null ] ], - "source": null, - "specs": [], + "source": "lib/inch_test/naming.ex:140", "type": "def" }, { "arity": 1, "doc": "Converts String to underscore case\n\n## Examples\n\n iex> InchTest.Naming.underscore(\"MyApp\")\n \"my_app\"\n\n iex> InchTest.Naming.underscore(\"my-app\")\n \"my_app\"\n\nIn general, `underscore` can be thought of as the reverse of\n`camelize`, however, in some cases formatting may be lost:\n\n Naming.underscore \"SAPExample\" #=> \"sap_example\"\n Naming.camelize \"sap_example\" #=> \"SapExample\"\n\n", @@ -1361,16 +926,12 @@ "arg1", [], "Elixir" ] ], - "source": null, - "specs": [], + "source": "lib/inch_test/naming.ex:52", "type": "def" } ], - "travis": true, - "travis_branch": "master", - "travis_commit": null, - "travis_job_id": null, - "travis_repo_slug": "rrrene/inch_ex" + "revision": "2f0554fbb54c81e4869a391c264735c95dd1c460", + "shell": true }