{"id":17252194,"url":"https://github.com/eagletmt/vim-ruby_namespace","last_synced_at":"2025-08-20T10:25:41.804Z","repository":{"id":17549487,"uuid":"20352299","full_name":"eagletmt/vim-ruby_namespace","owner":"eagletmt","description":"Show current namespace in Ruby file","archived":false,"fork":false,"pushed_at":"2014-05-31T08:45:20.000Z","size":140,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-24T09:50:59.794Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/eagletmt.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-05-31T08:39:39.000Z","updated_at":"2015-02-07T10:24:13.000Z","dependencies_parsed_at":"2022-08-25T18:21:28.323Z","dependency_job_id":null,"html_url":"https://github.com/eagletmt/vim-ruby_namespace","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eagletmt%2Fvim-ruby_namespace","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eagletmt%2Fvim-ruby_namespace/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eagletmt%2Fvim-ruby_namespace/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eagletmt%2Fvim-ruby_namespace/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eagletmt","download_url":"https://codeload.github.com/eagletmt/vim-ruby_namespace/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245606609,"owners_count":20643212,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-15T06:53:17.159Z","updated_at":"2025-03-26T07:23:23.128Z","avatar_url":"https://github.com/eagletmt.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"vim-ruby_namespace\n==================\n\nShow current namespace in Ruby file.\n\n## Usage\nExecute `:RubyNamespace` command to see namespace of the current line.\n\n## Example\n\n```ruby\nclass C1\n  def initialize\n    # namespace = C1\n  end\n  # namespace = C1\n\n  module M1\n    class C2\n      # namespace = class C1; module M1; class C2\n\n      class \u003c\u003c self\n        # namespace = class C1; module M1; class C2; class \u003c\u003c self\n      end\n    end\n  end\n\n  class M1::C2\n    # namespace = class C1; class M1::C2\n  end\nend\n\n# namespace = TOPLEVEL\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feagletmt%2Fvim-ruby_namespace","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feagletmt%2Fvim-ruby_namespace","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feagletmt%2Fvim-ruby_namespace/lists"}