Class: AtTheMovies::Interview
- Inherits:
-
Object
- Object
- AtTheMovies::Interview
- Defined in:
- lib/at_the_movies/interview.rb
Instance Attribute Summary collapse
-
#date ⇒ Object
readonly
Returns the value of attribute date.
-
#interviewee ⇒ Object
readonly
Returns the value of attribute interviewee.
-
#interviewer ⇒ Object
readonly
Returns the value of attribute interviewer.
-
#title ⇒ Object
readonly
Returns the value of attribute title.
-
#url ⇒ Object
readonly
Returns the value of attribute url.
Instance Method Summary collapse
-
#initialize(title, date, interviewee, interviewer, url) ⇒ Interview
constructor
A new instance of Interview.
Constructor Details
#initialize(title, date, interviewee, interviewer, url) ⇒ Interview
Returns a new instance of Interview.
5 6 7 8 9 10 11 |
# File 'lib/at_the_movies/interview.rb', line 5 def initialize(title, date, interviewee, interviewer, url) @title = title @date = date @interviewee = interviewee @interviewer = interviewer @url = url end |
Instance Attribute Details
#date ⇒ Object (readonly)
Returns the value of attribute date.
3 4 5 |
# File 'lib/at_the_movies/interview.rb', line 3 def date @date end |
#interviewee ⇒ Object (readonly)
Returns the value of attribute interviewee.
3 4 5 |
# File 'lib/at_the_movies/interview.rb', line 3 def interviewee @interviewee end |
#interviewer ⇒ Object (readonly)
Returns the value of attribute interviewer.
3 4 5 |
# File 'lib/at_the_movies/interview.rb', line 3 def interviewer @interviewer end |
#title ⇒ Object (readonly)
Returns the value of attribute title.
3 4 5 |
# File 'lib/at_the_movies/interview.rb', line 3 def title @title end |
#url ⇒ Object (readonly)
Returns the value of attribute url.
3 4 5 |
# File 'lib/at_the_movies/interview.rb', line 3 def url @url end |