Class: AfrLoad::TvProgram
- Inherits:
-
Object
- Object
- AfrLoad::TvProgram
- Defined in:
- lib/afr_load/tv_program.rb
Instance Attribute Summary collapse
-
#leading_actor ⇒ Object
Returns the value of attribute leading_actor.
-
#movie_director ⇒ Object
Returns the value of attribute movie_director.
-
#on_air_date ⇒ Object
Returns the value of attribute on_air_date.
-
#released_country ⇒ Object
Returns the value of attribute released_country.
-
#released_year ⇒ Object
Returns the value of attribute released_year.
-
#supporting_actor ⇒ Object
Returns the value of attribute supporting_actor.
-
#title ⇒ Object
Returns the value of attribute title.
-
#title_ja ⇒ Object
Returns the value of attribute title_ja.
Instance Method Summary collapse
-
#initialize {|_self| ... } ⇒ TvProgram
constructor
A new instance of TvProgram.
- #show ⇒ Object
Constructor Details
#initialize {|_self| ... } ⇒ TvProgram
Returns a new instance of TvProgram.
11 12 13 |
# File 'lib/afr_load/tv_program.rb', line 11 def initialize() yield(self) if block_given? end |
Instance Attribute Details
#leading_actor ⇒ Object
Returns the value of attribute leading_actor.
5 6 7 |
# File 'lib/afr_load/tv_program.rb', line 5 def leading_actor @leading_actor end |
#movie_director ⇒ Object
Returns the value of attribute movie_director.
5 6 7 |
# File 'lib/afr_load/tv_program.rb', line 5 def movie_director @movie_director end |
#on_air_date ⇒ Object
Returns the value of attribute on_air_date.
5 6 7 |
# File 'lib/afr_load/tv_program.rb', line 5 def on_air_date @on_air_date end |
#released_country ⇒ Object
Returns the value of attribute released_country.
5 6 7 |
# File 'lib/afr_load/tv_program.rb', line 5 def released_country @released_country end |
#released_year ⇒ Object
Returns the value of attribute released_year.
5 6 7 |
# File 'lib/afr_load/tv_program.rb', line 5 def released_year @released_year end |
#supporting_actor ⇒ Object
Returns the value of attribute supporting_actor.
5 6 7 |
# File 'lib/afr_load/tv_program.rb', line 5 def supporting_actor @supporting_actor end |
#title ⇒ Object
Returns the value of attribute title.
5 6 7 |
# File 'lib/afr_load/tv_program.rb', line 5 def title @title end |
#title_ja ⇒ Object
Returns the value of attribute title_ja.
5 6 7 |
# File 'lib/afr_load/tv_program.rb', line 5 def title_ja @title_ja end |
Instance Method Details
#show ⇒ Object
15 16 17 18 19 20 21 22 23 24 25 26 |
# File 'lib/afr_load/tv_program.rb', line 15 def show() puts <<"EOS" on_air_date: #{@on_air_date}, \ title_ja: #{@title_ja}, \ title: #{@title}, \ released_year: #{@released_year}, \ released_country: #{@released_country}, \ movie_director: #{@movie_director}, \ leading_actor: #{@leading_actor}, \ supporting_actor: #{@supporting_actor} EOS end |