Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Should be silent by default

  • Loading branch information...
commit 1b80e5678c48c491738e977b2ad7679b8a4c27a8 1 parent fc02464
@nakajima authored
View
2  bin/mark
@@ -4,4 +4,6 @@ require File.join(File.dirname(__FILE__), *%w[.. lib makers-mark])
content = ARGV.first ? File.read(ARGV.first) : $stdin.read
+$VERBOSE = true
+
puts MakersMark.generate(content)
View
2  lib/makers-mark/generator.rb
@@ -52,7 +52,7 @@ def info(msg)
private
def say(msg)
- $stdout.puts msg unless $SILENT
+ $stdout.puts msg if $VERBOSE
end
}.new
end
View
2  spec/spec_helper.rb
@@ -2,8 +2,6 @@
require 'nokogiri'
require 'bacon'
-$SILENT = true
-
require File.dirname(__FILE__) + '/../lib/makers-mark'
module TestHelp
Please sign in to comment.
Something went wrong with that request. Please try again.