Created
February 15, 2011 16:58
-
-
Save andreastt/827807 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class B | |
attr_accessor :code | |
def initialize(code) | |
@code = code | |
end | |
end | |
b1 = B.new(12) | |
p b1.code |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment