class Species
Attributes
average_lifespan[R]
classification[R]
name[R]
Public Class Methods
new(species)
click to toggle source
# File lib/star_wars_finder/species.rb, line 3 def initialize(species) @name = species["name"] @classification = species["classification"] @average_lifespan = species["average_lifespan"] end