YARD CHEATSHEET http://yardoc.org
cribbed from http://pastebin.com/xgzeAmBn
Templates to remind you of the options and formatting for the different types of objects you might want to document using YARD.
cribbed from http://pastebin.com/xgzeAmBn
Templates to remind you of the options and formatting for the different types of objects you might want to document using YARD.
I hereby claim:
To claim this, I am signing this object:
<html> | |
<head> | |
<meta name="keywords" content="web, design, development, applications, apps, deployment, hosting, marketing, Warsaw, Indiana, South Bend, Fort Wayne, Winona Lake"> | |
<meta name="description" content="Disruptive Ventures builds disruptive businesses."> | |
<title>Disruptive Ventures Sample Page</title> | |
</head> | |
<body text="#ffffff" bgcolor="#3F3F3F" marginheight="0" marginwidth="0"> | |
<table width="965" border="0" bgcolor="#808080" align="center" cellspacing="0" cellpadding="0"> | |
<tr> | |
<td> |
Rails::Initializer.run do |config| | |
… | |
config.frameworks -= [ :active_record ] | |
… | |
end | |
# app/models/forecast.rb | |
require 'httparty' | |
class Forecast < ActiveRecord::Base | |
include HTTParty | |
ICON_LOCATION = "http://mobile.wrh.noaa.gov/weather/images/fcicons" | |
class << self |
Areaname,STCOU,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, | |
UNITED STATES,00000,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, | |
ALABAMA,01000,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, | |
"Autauga, AL",01001,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, | |
"Baldwin, AL",01003,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, | |
"Barbour, AL",01005,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, | |
"Bibb, AL",01007,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, | |
"Blount, AL",01009,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, | |
"Bullock, AL",01011,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, | |
"Butler, AL",01013,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, |
function parse_git_dirty { | |
[[ $(git status 2> /dev/null | tail -n1) != "nothing to commit (working directory clean)" ]] && echo "*" | |
} | |
function parse_git_branch { | |
git branch --no-color 2> /dev/null | sed -e '/^[^*]/d' -e "s/* \(.*\)/[\1$(parse_git_dirty)]/" | |
} | |
export PS1='\u@\h \[\033[1;33m\]\w\[\033[0m\]$(parse_git_branch)$ ' | |
alias ss='script/server' | |
alias e='mate .' | |
alias lsa="ls -alF" |
[user] | |
name = Jerry Richardson | |
email = jerry@disruptiveventures.com | |
[github] | |
user = jerry | |
token = | |
[color] | |
ui = auto | |
[color "branch"] | |
current = yellow reverse |
Loaded suite /Users/jerry/sites/rhv/test/functional/posts_controller_test | |
Started | |
..E. | |
Finished in 1.226551 seconds. | |
1) Error: | |
test: A signed in admin on POST to :create should redirect to the post page. (PostsControllerTest): | |
ActionController::RoutingError: post_url failed to generate from {:controller=>"posts", :action=>"show", :id=>nil}, expected: {:controller=>"posts", :action=>"show"}, diff: {:id=>nil} | |
method post_url in (eval) at line 16 | |
method __bind_1264018691_837170 in posts_controller_test.rb at line 40 |
From bfb946c76fcd2d8801728fd31af77f8059a25a17 Mon Sep 17 00:00:00 2001 | |
From: Christopher James Huff <cjameshuff@gmail.com> | |
Date: Mon, 28 Sep 2009 11:47:47 -0400 | |
Subject: [PATCH] Added basic support for PayLeap gateway | |
--- | |
lib/active_merchant/billing/gateways/payleap.rb | 228 +++++++++++++++++++++++ | |
test/remote/gateways/remote_payleap_test.rb | 81 ++++++++ | |
test/unit/gateways/payleap_test.rb | 85 +++++++++ | |
3 files changed, 394 insertions(+), 0 deletions(-) |