1

This is a really basic question. I've been watching Ruby Tapas and really like how Avdi can run his Ruby code and have it recorded directly in the source file. Googling "executing and documenting Ruby code" obviously returns a bunch of stuff about the RDocs for the language itself. Anyone know more specifically what I should look into?

2
  • which editor you are using ? Commented Apr 4, 2014 at 21:39
  • wait,,, giving you solutions.. Commented Apr 4, 2014 at 21:44

1 Answer 1

1

You need to use the t9md / vim-ruby-xmpfilter. Look also the README section.

You need to have rcodetools gem mandatory.

After that go though the issue, I logged.

Sign up to request clarification or add additional context in comments.

1 Comment

Awesome! Took me a bit to get my mappings to work. Command key maps don't seem to work for me. Not sure why :-/ Thanks for the help!

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.