Class: FiresideFinder::Gathering
- Inherits:
-
Object
- Object
- FiresideFinder::Gathering
- Defined in:
- lib/fireside-finder/gathering.rb
Constant Summary collapse
- @@all =
[]
Instance Attribute Summary collapse
-
#address ⇒ Object
Returns the value of attribute address.
-
#city ⇒ Object
Returns the value of attribute city.
-
#date ⇒ Object
Returns the value of attribute date.
-
#datetime ⇒ Object
Returns the value of attribute datetime.
-
#description ⇒ Object
Returns the value of attribute description.
-
#details_link ⇒ Object
Returns the value of attribute details_link.
-
#directions ⇒ Object
Returns the value of attribute directions.
-
#name ⇒ Object
Returns the value of attribute name.
-
#venue ⇒ Object
Returns the value of attribute venue.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize ⇒ Gathering
constructor
A new instance of Gathering.
- #save ⇒ Object
Constructor Details
#initialize ⇒ Gathering
Returns a new instance of Gathering.
7 8 9 |
# File 'lib/fireside-finder/gathering.rb', line 7 def initialize @name = name end |
Instance Attribute Details
#address ⇒ Object
Returns the value of attribute address.
4 5 6 |
# File 'lib/fireside-finder/gathering.rb', line 4 def address @address end |
#city ⇒ Object
Returns the value of attribute city.
4 5 6 |
# File 'lib/fireside-finder/gathering.rb', line 4 def city @city end |
#date ⇒ Object
Returns the value of attribute date.
4 5 6 |
# File 'lib/fireside-finder/gathering.rb', line 4 def date @date end |
#datetime ⇒ Object
Returns the value of attribute datetime.
4 5 6 |
# File 'lib/fireside-finder/gathering.rb', line 4 def datetime @datetime end |
#description ⇒ Object
Returns the value of attribute description.
4 5 6 |
# File 'lib/fireside-finder/gathering.rb', line 4 def description @description end |
#details_link ⇒ Object
Returns the value of attribute details_link.
4 5 6 |
# File 'lib/fireside-finder/gathering.rb', line 4 def details_link @details_link end |
#directions ⇒ Object
Returns the value of attribute directions.
4 5 6 |
# File 'lib/fireside-finder/gathering.rb', line 4 def directions @directions end |
#name ⇒ Object
Returns the value of attribute name.
4 5 6 |
# File 'lib/fireside-finder/gathering.rb', line 4 def name @name end |
#venue ⇒ Object
Returns the value of attribute venue.
4 5 6 |
# File 'lib/fireside-finder/gathering.rb', line 4 def venue @venue end |
Class Method Details
.all ⇒ Object
11 12 13 |
# File 'lib/fireside-finder/gathering.rb', line 11 def self.all @@all end |
.reset ⇒ Object
19 20 21 |
# File 'lib/fireside-finder/gathering.rb', line 19 def self.reset @@all = [] end |
Instance Method Details
#save ⇒ Object
15 16 17 |
# File 'lib/fireside-finder/gathering.rb', line 15 def save @@all << self end |