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

ruby-snippets

Ruby snippets for non-rails way programming
  • #ruby
  • #snippets
  • #rails
  • #service
  • #object
azranel
2,552
2
  • Repo
  • Bugs
  • Versions
  • License
Flag as spam or malicious

ruby-snippets package

Description

Snippets for atom that I use. Helps to write code with use of service objects, presenters etc

GIF not related, duh!

Documentation

spec - creates new spec file - requires rials helper and add describe tag

desc - adds describe block

subj - adds subject with described_class inside

fact - factory scaffold for FactoryGirl

sit - Spec - it. Adds multiline it statement

slet - Spec - let. Adds let statement

servobj - General scaffold for service object

context - Spec - context.

sitex - Spec - it is expected. Single line it statement.

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