• Dmitry Gutov's avatar
    * lisp/progmodes/ruby-mode.el (ruby-mode-map): Add binding for · 8c1ae481
    Dmitry Gutov authored
    (ruby-smie--args-separator-p): Check that there's no newline
    between method call and its arguments.
    (ruby-smie-rules): Handle new cases: curly block with and without
    parameters, hash surrounded with parens, block passed to
    paren-less method call.
    * test/indent/ruby.rb: New examples for indentation of blocks.  Example
    of hash inside parens that inflooped before this commit.
ruby.rb 2.84 KB