Created
May 5, 2014 09:19
-
-
Save ohac/5140ca01ef9b62237aab to your computer and use it in GitHub Desktop.
NOMP Viewer
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
!!! | |
%html | |
%head | |
%title NOMP Viewer | |
%body | |
- coins.each do |coinname, rounds| | |
%h1 #{coinname} | |
- rounds.each do |round, shares| | |
%h2 #{round} | |
%table | |
%tr | |
- shares.each do |addr, share| | |
%td= addr | |
%td= '%.4f' % share |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
gistはディレクトリをサポートしていないので、index.hamlをviewsに移動して使う必要がある。