Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 [TYS] Parameterized Inheritance
Index -> Programming, Ruby -> Ruby Tutorials
View previous topic Printable versionDownload TopicRate TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
wtd




PostPosted: Fri Oct 12, 2007 1:15 pm   Post subject: [TYS] Parameterized Inheritance

code:
>> ?
=> ?
>> class Foo < S :foo, :bar; def to_s; "#{foo} #{bar}" end end
=> nil
>> Foo.new("hello", "world").to_s
=> "hello world"


Fill in the question marks.

You may use at most 24 characters, including any necessary semicolons to keep it to one line.
Sponsor
Sponsor
Sponsor
sponsor
FredGayle55




PostPosted: Sat Oct 26, 2013 5:21 am   Post subject: Re: [TYS] Parameterized Inheritance

Your idea is outstanding the issue is one thing that not enough persons are speaking intelligently about. I am very completely satisfied that.
Display posts from previous:   
   Index -> Programming, Ruby -> Ruby Tutorials
View previous topic Tell A FriendPrintable versionDownload TopicRate TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 2 Posts ]
Jump to:   


Style:  
Search: