class Character

Attributes

appearance[RW]
birthday[RW]
char_id[RW]
img[RW]
name[RW]
nickname[RW]
occupation[RW]
portrayed[RW]
status[RW]

Public Class Methods

all() click to toggle source
# File lib/characters.rb, line 20
def self.all
  @@all
end
find() click to toggle source
# File lib/characters.rb, line 25
def self.find
  self.all
end
name() click to toggle source
# File lib/characters.rb, line 29
def self.name
  self.find
end
new(char_id, name, birthday, occupation, img, status, appearance, nickname, portrayed) click to toggle source
# File lib/characters.rb, line 7
def initialize(char_id, name, birthday, occupation, img, status, appearance, nickname, portrayed)
  @char_id = char_id
  @name = name
  @birthday = birthday
  @occupation = occupation
  @img = img
  @status = status
  @appearance = appearance
  @nickname = nickname
  @portrayed = portrayed
  @@all << self
end