Skip to content

Instantly share code, notes, and snippets.

Created May 29, 2016 15:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/ef59cfe4dae1c8b1b825d520c2df01c9 to your computer and use it in GitHub Desktop.
Save anonymous/ef59cfe4dae1c8b1b825d520c2df01c9 to your computer and use it in GitHub Desktop.
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