Created
February 1, 2014 07:35
-
-
Save vvakame/8749283 to your computer and use it in GitHub Desktop.
tslist記法を作って@<list>{hoge} とかで参照したい!
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
# encoding: utf-8 | |
require 'pp' | |
require 'review/compiler' | |
module ReVIEW | |
class Compiler | |
defblock :tslist, 2 | |
end | |
class Builder | |
def tslist(lines, id, caption) | |
pp "まじっすかー", lines, id, caption | |
list(lines, id, caption) | |
end | |
end | |
class HTMLBuilder | |
def tslist(lines, id, caption) | |
pp "まじっすかー", lines, id, caption | |
list(lines, id, caption) | |
end | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment