Class: Venue
- Inherits:
-
Object
- Object
- Venue
- Defined in:
- lib/audience-kit/venue.rb
Instance Attribute Summary collapse
-
#data ⇒ Object
readonly
Returns the value of attribute data.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(data) ⇒ Venue
constructor
A new instance of Venue.
Constructor Details
#initialize(data) ⇒ Venue
Returns a new instance of Venue.
8 9 10 11 |
# File 'lib/audience-kit/venue.rb', line 8 def initialize(data) @data = data puts "Venue => #{data}" end |
Instance Attribute Details
#data ⇒ Object (readonly)
Returns the value of attribute data.
2 3 4 |
# File 'lib/audience-kit/venue.rb', line 2 def data @data end |