lib/marcspec/leaderspec.rb in marcspec-0.7.3 vs lib/marcspec/leaderspec.rb in marcspec-0.8.1
- old
+ new
@@ -13,10 +13,10 @@
# @param [Fixnum, Range<Fixnum>] range substring specification (either one character or a range) to return
# instead of the whole leader.
def initialize (tag, range=nil)
unless tag == 'LDR'
- raise ArgumentError "Tag must be 'LDR' for a LeaderSpec"
+ raise ArgumentError, "Tag must be 'LDR' for a LeaderSpec"
end
@tag = 'LDR'
self.range = range
end
\ No newline at end of file