• Packages
  • Themes
  • Documentation
  • Blog
  • Discuss
Sign in

ruby-define-method

Like Textmate, shortcut to declare a ruby method with shift+enter
alexchee
0.2.2 4,273
6
  • Repo
  • Bugs
  • Versions
  • License
Flag as spam or malicious

ruby-define-method package

Adds ruby-define-method:new_instance_method command converts a line of text into a method name with shift+enter like in Textmate. Please note: I'm still learning my way around Atom, improvements are welcomed!

Ruby Define Method

To change the keybinding:

'.editor[data-grammar~=ruby]':
  'shift-enter': 'ruby-define-method:new_instance_method'

TODO:

  • maybe add other Ruby Textmate commands

I think this package is bad news.

Good catch. Let us know what about this package looks wrong to you, and we'll investigate right away.

  • Terms of Use
  • Privacy
  • Code of Conduct
  • Releases
  • FAQ
  • Contact
with by