summaryrefslogtreecommitdiff
path: root/sample
diff options
context:
space:
mode:
authorhsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-10-07 05:18:57 (GMT)
committerhsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-10-07 05:18:57 (GMT)
commit6b35c34c6808f24f6ac8f03d99620a6406676b0e (patch)
tree73fe93fec6838a539e6fa27cae0cf4076f32c7ba /sample
parent87d7a06660b658da7267486f43996003abc39016 (diff)
* basictest/test.rb: Adjust spaces in class declarations
with inheritance. [fix GH-1227] Patch by @adrfer * lib/irb/*: ditto. * lib/prime.rb: ditto. * lib/shell/builtin-command.rb: ditto. * object.c: ditto. * sample/*.rb: ditto. * test/-ext-/method/test_arity.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56371 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'sample')
-rw-r--r--sample/delegate.rb2
-rw-r--r--sample/export.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/sample/delegate.rb b/sample/delegate.rb
index 918dc08..dc7ea2a 100644
--- a/sample/delegate.rb
+++ b/sample/delegate.rb
@@ -1,6 +1,6 @@
require 'delegate'
-class ExtArray<DelegateClass(Array)
+class ExtArray < DelegateClass(Array)
def initialize()
super([])
end
diff --git a/sample/export.rb b/sample/export.rb
index 949e5b1..2ab2e93 100644
--- a/sample/export.rb
+++ b/sample/export.rb
@@ -30,7 +30,7 @@ f.printf "%s\n", Foo
f.quux
-class Bar<Foo
+class Bar < Foo
def quux
super
baz()