Class: MeetupCli::Meetup
- Inherits:
-
Object
- Object
- MeetupCli::Meetup
- Defined in:
- lib/meetup_cli/meetup.rb
Instance Attribute Summary collapse
-
#about ⇒ Object
Returns the value of attribute about.
-
#attendees ⇒ Object
Returns the value of attribute attendees.
-
#host ⇒ Object
Returns the value of attribute host.
-
#name ⇒ Object
Returns the value of attribute name.
-
#time_object ⇒ Object
Returns the value of attribute time_object.
-
#upcoming ⇒ Object
Returns the value of attribute upcoming.
-
#url ⇒ Object
Returns the value of attribute url.
-
#venue ⇒ Object
Returns the value of attribute venue.
Instance Method Summary collapse
Instance Attribute Details
#about ⇒ Object
Returns the value of attribute about.
2 3 4 |
# File 'lib/meetup_cli/meetup.rb', line 2 def about @about end |
#attendees ⇒ Object
Returns the value of attribute attendees.
2 3 4 |
# File 'lib/meetup_cli/meetup.rb', line 2 def attendees @attendees end |
#host ⇒ Object
Returns the value of attribute host.
2 3 4 |
# File 'lib/meetup_cli/meetup.rb', line 2 def host @host end |
#name ⇒ Object
Returns the value of attribute name.
2 3 4 |
# File 'lib/meetup_cli/meetup.rb', line 2 def name @name end |
#time_object ⇒ Object
Returns the value of attribute time_object.
2 3 4 |
# File 'lib/meetup_cli/meetup.rb', line 2 def time_object @time_object end |
#upcoming ⇒ Object
Returns the value of attribute upcoming.
2 3 4 |
# File 'lib/meetup_cli/meetup.rb', line 2 def upcoming @upcoming end |
#url ⇒ Object
Returns the value of attribute url.
2 3 4 |
# File 'lib/meetup_cli/meetup.rb', line 2 def url @url end |
#venue ⇒ Object
Returns the value of attribute venue.
2 3 4 |
# File 'lib/meetup_cli/meetup.rb', line 2 def venue @venue end |
Instance Method Details
#display ⇒ Object
5 6 7 8 9 10 11 12 13 |
# File 'lib/meetup_cli/meetup.rb', line 5 def display puts "Upcoming Meetup in the Neighborhood" puts "#{@name}" puts "#{@host}" puts "#{@time_object}" puts "#{@venue}" puts "#{@attendees}" puts "#{@about}" end |