Class: Acme::JapaneseAvActress::Actress
- Inherits:
-
Object
- Object
- Acme::JapaneseAvActress::Actress
- Defined in:
- lib/acme/japanese_av_actress.rb
Instance Attribute Summary collapse
-
#aliases ⇒ Object
readonly
Returns the value of attribute aliases.
-
#initial ⇒ Object
readonly
Returns the value of attribute initial.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#retired ⇒ Object
(also: #retired?)
readonly
Returns the value of attribute retired.
-
#year ⇒ Object
readonly
Returns the value of attribute year.
-
#yomi ⇒ Object
readonly
Returns the value of attribute yomi.
Instance Method Summary collapse
-
#initialize(actress) ⇒ Actress
constructor
A new instance of Actress.
Constructor Details
#initialize(actress) ⇒ Actress
Returns a new instance of Actress.
110 111 112 |
# File 'lib/acme/japanese_av_actress.rb', line 110 def initialize(actress) actress.each_pair {|k,v| instance_variable_set("@#{k}", v) } end |
Instance Attribute Details
#aliases ⇒ Object (readonly)
Returns the value of attribute aliases.
107 108 109 |
# File 'lib/acme/japanese_av_actress.rb', line 107 def aliases @aliases end |
#initial ⇒ Object (readonly)
Returns the value of attribute initial.
107 108 109 |
# File 'lib/acme/japanese_av_actress.rb', line 107 def initial @initial end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
107 108 109 |
# File 'lib/acme/japanese_av_actress.rb', line 107 def name @name end |
#retired ⇒ Object (readonly) Also known as: retired?
Returns the value of attribute retired.
107 108 109 |
# File 'lib/acme/japanese_av_actress.rb', line 107 def retired @retired end |
#year ⇒ Object (readonly)
Returns the value of attribute year.
107 108 109 |
# File 'lib/acme/japanese_av_actress.rb', line 107 def year @year end |
#yomi ⇒ Object (readonly)
Returns the value of attribute yomi.
107 108 109 |
# File 'lib/acme/japanese_av_actress.rb', line 107 def yomi @yomi end |