Skip to content

Instantly share code, notes, and snippets.

@panthomakos
Created October 18, 2012 18:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save panthomakos/3913958 to your computer and use it in GitHub Desktop.
Save panthomakos/3913958 to your computer and use it in GitHub Desktop.
Guard-Yard Example
# lib/example.rb
class Example
# Convert to a string.
#
# == Returns:
# A string representing the object.
def to_s
end
end
source "http://rubygems.org"
gem 'guard-yard'
gem 'rb-fsevent', :require => false
guard 'yard' do
watch(%r{lib/.+\.rb})
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment