Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

factored out ruby material into it's own file and added disqus commen…

…ting partial
  • Loading branch information...
commit be96cc5ed0c9b1fe1c845302238924e5a721627a 1 parent 195e35b
@doolin doolin authored
Showing with 28 additions and 0 deletions.
  1. +18 −0 source/content/_disqus.html.haml
  2. +10 −0 source/content/_ruby.html.md
View
18 source/content/_disqus.html.haml
@@ -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
View
10 source/content/_ruby.html.md
@@ -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.)
+
Please sign in to comment.
Something went wrong with that request. Please try again.