Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
factored out ruby material into it's own file and added disqus commen…
…ting partial
- Loading branch information
Showing
2 changed files
with
28 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
#disqus_thread | ||
:javascript | ||
/* * * CONFIGURATION VARIABLES: EDIT BEFORE PASTING INTO YOUR WEBPAGE * * */ | ||
var disqus_shortname = 'rubymacros'; // required: replace example with your forum shortname | ||
var disqus_developer = 1; | ||
|
||
/* * * DON'T EDIT BELOW THIS LINE * * */ | ||
(function() { | ||
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true; | ||
dsq.src = 'http://' + disqus_shortname + '.disqus.com/embed.js'; | ||
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq); | ||
})(); | ||
%noscript | ||
Please enable JavaScript to view the | ||
%a{:href => "http://disqus.com/?ref_noscript"} comments powered by Disqus. | ||
%a.dsq-brlink{:href => "http://disqus.com"} | ||
blog comments powered by | ||
%span.logo-disqus Disqus |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
|
||
### The state of the Ruby | ||
|
||
From the Pickaxe (4th ed., p. 378), we have macros defined as | ||
Ruby methods which generate code "behind the scenes" by | ||
turning small bits of code into larger bits of code. | ||
|
||
(Add more bits here, briefly summarizing without going into much | ||
detail.) | ||
|