Skip to content

Commit 9789b53

Browse files
herwinweregon
authored andcommitted
Grammar fixup: it's -> its for possessive form
1 parent 6b3a3c3 commit 9789b53

4 files changed

Lines changed: 11 additions & 11 deletions

File tree

language/ensure_spec.rb

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
ScratchPad.record []
77
end
88

9-
it "is executed when an exception is raised in it's corresponding begin block" do
9+
it "is executed when an exception is raised in its corresponding begin block" do
1010
-> {
1111
begin
1212
ScratchPad << :begin
@@ -19,7 +19,7 @@
1919
ScratchPad.recorded.should == [:begin, :ensure]
2020
end
2121

22-
it "is executed when an exception is raised and rescued in it's corresponding begin block" do
22+
it "is executed when an exception is raised and rescued in its corresponding begin block" do
2323
begin
2424
ScratchPad << :begin
2525
raise "An exception occurred!"
@@ -32,7 +32,7 @@
3232
ScratchPad.recorded.should == [:begin, :rescue, :ensure]
3333
end
3434

35-
it "is executed even when a symbol is thrown in it's corresponding begin block" do
35+
it "is executed even when a symbol is thrown in its corresponding begin block" do
3636
catch(:symbol) do
3737
begin
3838
ScratchPad << :begin
@@ -47,7 +47,7 @@
4747
ScratchPad.recorded.should == [:begin, :ensure]
4848
end
4949

50-
it "is executed when nothing is raised or thrown in it's corresponding begin block" do
50+
it "is executed when nothing is raised or thrown in its corresponding begin block" do
5151
begin
5252
ScratchPad << :begin
5353
rescue
@@ -256,7 +256,7 @@ class EnsureInClassExample
256256
ScratchPad.record []
257257
end
258258

259-
it "is executed when an exception is raised in it's corresponding begin block" do
259+
it "is executed when an exception is raised in its corresponding begin block" do
260260
-> {
261261
eval(<<-ruby).call
262262
lambda do
@@ -271,7 +271,7 @@ class EnsureInClassExample
271271
ScratchPad.recorded.should == [:begin, :ensure]
272272
end
273273

274-
it "is executed when an exception is raised and rescued in it's corresponding begin block" do
274+
it "is executed when an exception is raised and rescued in its corresponding begin block" do
275275
eval(<<-ruby).call
276276
lambda do
277277
ScratchPad << :begin
@@ -286,7 +286,7 @@ class EnsureInClassExample
286286
ScratchPad.recorded.should == [:begin, :rescue, :ensure]
287287
end
288288

289-
it "is executed even when a symbol is thrown in it's corresponding begin block" do
289+
it "is executed even when a symbol is thrown in its corresponding begin block" do
290290
catch(:symbol) do
291291
eval(<<-ruby).call
292292
lambda do
@@ -303,7 +303,7 @@ class EnsureInClassExample
303303
ScratchPad.recorded.should == [:begin, :ensure]
304304
end
305305

306-
it "is executed when nothing is raised or thrown in it's corresponding begin block" do
306+
it "is executed when nothing is raised or thrown in its corresponding begin block" do
307307
eval(<<-ruby).call
308308
lambda do
309309
ScratchPad << :begin

language/fixtures/super.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ def name
266266

267267
# Use this so that we can see collect all supers that we see.
268268
# One bug that arises is that we call Alias2#name from Alias2#name
269-
# as it's superclass. In that case, either we get a runaway recursion
269+
# as its superclass. In that case, either we get a runaway recursion
270270
# super OR we get the return value being [:alias2, :alias2, :alias1]
271271
# rather than [:alias2, :alias1].
272272
#

language/singleton_class_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@
6060
ClassSpecs::H.singleton_class.singleton_class
6161
end
6262

63-
it "for BasicObject has Class as it's superclass" do
63+
it "for BasicObject has Class as its superclass" do
6464
BasicObject.singleton_class.superclass.should == Class
6565
end
6666

library/cgi/htmlextension/multipart_form_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
end
1212

1313
describe "when passed no arguments" do
14-
it "returns a 'form'-element with it's enctype set to multipart" do
14+
it "returns a 'form'-element with its enctype set to multipart" do
1515
output = @html.multipart_form
1616
output.should equal_element("FORM", { "ENCTYPE" => "multipart/form-data", "METHOD" => "post" }, "")
1717
end

0 commit comments

Comments
 (0)