Sha256: a9903724d2a2939caac29b0b9f61f8104ee63c9d13a9d7979cb6fa29785aa391
Contents?: true
Size: 1.11 KB
Versions: 2
Compression:
Stored size: 1.11 KB
Contents
# encoding: utf-8 module AfrLoad class TvProgram attr_reader :on_air_date, :title_ja, :title, :released_year, :released_country, :movie_director, :leading_actor, :supporting_actor def initialize(on_air_date:, title_ja:, title:, released_year:, released_country:, movie_director:, leading_actor:, supporting_actor:) @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 end 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 end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
afr_load-0.1.4 | lib/afr_load/tv_program.rb |
afr_load-0.1.3 | lib/afr_load/tv_program.rb |