Created
May 29, 2016 15:15
-
-
Save anonymous/ef59cfe4dae1c8b1b825d520c2df01c9 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 Access | |
attr_reader :venue, :title | |
attr_accessor :price | |
def initialize(venue, title) | |
venue = @venue | |
title = @title | |
end | |
end | |
a=Access.new("sample", "text") | |
puts a.venue |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment