git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6873 626c5289-ae23-0410-ae9c-e8d60b6d4f22
13 lines
No EOL
157 B
Ruby
13 lines
No EOL
157 B
Ruby
require 'director_string'
|
|
|
|
class B < Director_string::A
|
|
|
|
def initialize(some_string)
|
|
super(some_string)
|
|
end
|
|
end
|
|
|
|
|
|
b = B.new("hello")
|
|
b.get_first
|
|
b.get(0) |