diff --git a/manual/graphics/line_width.rb b/manual/graphics/line_width.rb index 15fe790e9..ed74e5465 100644 --- a/manual/graphics/line_width.rb +++ b/manual/graphics/line_width.rb @@ -19,7 +19,7 @@ case i when 0 then line_width = 10 # This call will have no effect when 1 then self.line_width = 10 - when 2 then self.line_width = 25 + when 2 then line_width 25 # Consistancy practice end stroke do diff --git a/spec/prawn_manual_spec.rb b/spec/prawn_manual_spec.rb index 2bc19adce..d37f9adb7 100644 --- a/spec/prawn_manual_spec.rb +++ b/spec/prawn_manual_spec.rb @@ -6,9 +6,9 @@ MANUAL_HASH = case RUBY_ENGINE when 'ruby' - '2c0279e0bff2a9120494a52aa46216c1871902b5e66a3537bd4d3cbd66db0096b43b6e1ae0e4e189b561c4db9fa1afacb6c41f260e3aaf942faae2fee352d35b' + '0abebec8ea1965b032ba737aec56475ace1098ba2573c048cd6a5c019fa898f1c0d103fbd0a53493e63db2569144635fdd8c76d4fbb916149a7936484ef20629' when 'jruby' - '51baf6440907e9e38d22f50deafa91572aec1174e621c044ae077cfe3d4361982a505dae5f013dd06f64f38cb9b3a38d5a3f8f0903849591774e298a3c91d39a' + '04c7933ba701ef23acb2f5e02d41f2bcb593f39237eebe3089b5f7a55a2afc61361f2f98a31a7239de593e0573a7e1ccbd3d7930510029fc53fa9f23a6e5e97d' end RSpec.describe Prawn do