summaryrefslogtreecommitdiff
path: root/sample
diff options
context:
space:
mode:
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()