File: ruby.coffee

Defined in: src/languages

Variables Summary

scope =
['source.ruby']

Get Atom defaults

defaultIndentSize =
(softTabs ? tabLength : 1)
defaultIndentChar =
(softTabs ? " " : "\t")
module.exports =
{
  name: "Ruby",
  namespace: "ruby",

  /*
  Supported Grammars
   */
  grammars: ["Ruby", "Ruby on Rails"],

  /*
  Supported extensions
   */
  extensions: ["rb"],
  options: {
    indent_size: {
      type: 'integer',
      "default": defaultIndentSize,
      minimum: 0,
      description: "Indentation size/length"
    },
    rubocop_path: {
      title: "Rubocop Path",
      type: 'string',
      "default": "",
      description: "Path to the `rubocop` CLI executable"
    },
    indent_char: {
      type: 'string',
      "default": defaultIndentChar,
      description: "Indentation character",
      "enum": [" ", "\t"]
    }
  }
}

    Quickly fuzzy find classes, mixins, methods, file:

    Control the navigation frame:

    You can focus and blur the search input: