proof 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/proof/proof.rb +3 -5
- metadata +2 -2
data/lib/proof/proof.rb
CHANGED
@@ -17,13 +17,11 @@ module Proof
|
|
17
17
|
|
18
18
|
def heading(heading)
|
19
19
|
Proof::Output.h2 heading
|
20
|
-
if block_given?
|
21
|
-
yield
|
22
|
-
end
|
20
|
+
yield if block_given?
|
23
21
|
end
|
24
22
|
|
25
|
-
def section(heading=
|
26
|
-
Proof::Output.h2 heading
|
23
|
+
def section(heading='')
|
24
|
+
Proof::Output.h2 heading
|
27
25
|
yield if block_given?
|
28
26
|
end
|
29
27
|
alias :block :section
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: proof
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.5
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-
|
12
|
+
date: 2013-11-24 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: output
|