Created
October 18, 2012 18:30
-
-
Save panthomakos/3913958 to your computer and use it in GitHub Desktop.
Guard-Yard Example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# lib/example.rb | |
class Example | |
# Convert to a string. | |
# | |
# == Returns: | |
# A string representing the object. | |
def to_s | |
end | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
source "http://rubygems.org" | |
gem 'guard-yard' | |
gem 'rb-fsevent', :require => false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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