aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/sisu/v3/shared_metadata.rb
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2011-03-01 20:43:35 -0500
committerRalph Amissah <ralph@amissah.com>2011-03-01 20:43:35 -0500
commitf2ab439c41468ba64c8658bf1d17f802e906857c (patch)
tree182517aa40b909725ab5b98ee95ab4860dc7e342 /lib/sisu/v3/shared_metadata.rb
parentv3: ruby 1.9 hash symbol syntax adopted (diff)
v3: space between each and opening curly brace e.g. "x.each {|y| p y}"
Diffstat (limited to 'lib/sisu/v3/shared_metadata.rb')
-rw-r--r--lib/sisu/v3/shared_metadata.rb18
1 files changed, 9 insertions, 9 deletions
diff --git a/lib/sisu/v3/shared_metadata.rb b/lib/sisu/v3/shared_metadata.rb
index 3613038b..167af5c4 100644
--- a/lib/sisu/v3/shared_metadata.rb
+++ b/lib/sisu/v3/shared_metadata.rb
@@ -1245,7 +1245,7 @@ if @md.title
@md.title.language,
@md.title.language_char
]
- x.each{|y| p y if y}
+ x.each {|y| p y if y}
end
if @md.creator
x=[
@@ -1266,7 +1266,7 @@ if @md.creator
@md.creator.prepared_by,
@md.creator.prepared_by_detail
]
- x.each{|y| p y if y}
+ x.each {|y| p y if y}
end
if @md.rights
x=[
@@ -1279,7 +1279,7 @@ if @md.rights
@md.rights.license,
@md.rights.all
]
- x.each{|y| p y if y}
+ x.each {|y| p y if y}
end
if @md.classify
x=[
@@ -1295,7 +1295,7 @@ if @md.classify
@md.classify.pg,
@md.classify.isbn,
]
- x.each{|y| p y if y}
+ x.each {|y| p y if y}
end
if @md.date
x=[
@@ -1307,7 +1307,7 @@ if @md.date
@md.date.published,
@md.date.valid
]
- x.each{|y| p y if y}
+ x.each {|y| p y if y}
end
#if @md.language
# p @md.language.document
@@ -1330,13 +1330,13 @@ if @md.make
@md.make.ad,
@md.make.manpage
]
- x.each{|y| p y if y}
+ x.each {|y| p y if y}
end
if @md.current_publisher # @md.publisher
x=[
@md.current_publisher
]
- x.each{|y| p y if y}
+ x.each {|y| p y if y}
end
if @md.original
x=[
@@ -1347,7 +1347,7 @@ if @md.original
@md.original.institution,
@md.original.nationality
]
- x.each{|y| p y if y}
+ x.each {|y| p y if y}
end
if @md.notes
x=[
@@ -1357,5 +1357,5 @@ if @md.notes
@md.notes.history,
@md.notes.prefix
]
- x.each{|y| p y if y}
+ x.each {|y| p y if y}
end