Sha256: d0a81737c575f04196f5ab6bf7353ca77e2e98a05c78ecb98bf65b3335d86a65

Contents?: true

Size: 355 Bytes

Versions: 1

Compression:

Stored size: 355 Bytes

Contents

require_relative 'rails_base'
module RoCommands
  class RailsShortcuts < Shortcuts
    desc usage('open_file'), ''

    def open_file(file)
      bash "#{Rrjj.default_editor} #{file}"
    end

    desc usage("work"), ""
    def work(*args)
      bx "zeus start"
      bx 'rails s'
    	bx "guard -P livereload"
      bx "guard -P rspec"
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rrjj-0.0.1 lib/ro_commands/rails_shortcuts.rb