This file looks large and may slow your browser down if we attempt
to syntax highlight it, so we are showing it without any
pretty colors.
Highlight
it anyway.
| 1 |
(define-minor-mode rails-rspec-lib-minor-mode |
| 2 |
"Minor mode for RubyOnRails lib rspec." |
| 3 |
:lighter " LibRSpec" |
| 4 |
:keymap (let ((map (rails-lib-layout:keymap :rspec-lib))) |
| 5 |
(define-key map rails-minor-mode-test-current-method-key 'rails-spec:run-this-spec) |
| 6 |
(define-key map [menu-bar rails-lib-layout run] '("RSPec current method" . rails-spec:run-this-spec)) |
| 7 |
map) |
| 8 |
(setq rails-primary-switch-func 'rails-lib-layout:switch-to-lib) |
| 9 |
(setq rails-secondary-switch-func 'rails-lib-layout:menu)) |
| 10 |
|
| 11 |
(provide 'rails-rspec-lib-minor-mode) |