Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update line_width.rb (in manual) #1320

Closed
wants to merge 4 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion manual/graphics/line_width.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions spec/prawn_manual_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
MANUAL_HASH =
case RUBY_ENGINE
when 'ruby'
'2c0279e0bff2a9120494a52aa46216c1871902b5e66a3537bd4d3cbd66db0096b43b6e1ae0e4e189b561c4db9fa1afacb6c41f260e3aaf942faae2fee352d35b'
'0abebec8ea1965b032ba737aec56475ace1098ba2573c048cd6a5c019fa898f1c0d103fbd0a53493e63db2569144635fdd8c76d4fbb916149a7936484ef20629'
when 'jruby'
'51baf6440907e9e38d22f50deafa91572aec1174e621c044ae077cfe3d4361982a505dae5f013dd06f64f38cb9b3a38d5a3f8f0903849591774e298a3c91d39a'
'04c7933ba701ef23acb2f5e02d41f2bcb593f39237eebe3089b5f7a55a2afc61361f2f98a31a7239de593e0573a7e1ccbd3d7930510029fc53fa9f23a6e5e97d'
end

RSpec.describe Prawn do
Expand Down