lib/best_friend/characteristics.rb in best_friend-0.1.0 vs lib/best_friend/characteristics.rb in best_friend-0.1.1

- old
+ new

@@ -1,9 +1,9 @@ -class Characteristic - - attr_accessor :name, :stars - def initialize(hash) - self.name = hash.keys[0] - self.stars = hash[hash.keys[0]] - end - -end +class Characteristic + + attr_accessor :name, :stars + def initialize(hash) + self.name = hash.keys[0] + self.stars = hash[hash.keys[0]] + end + +end