lib/emojidex/data/category.rb in emojidex-0.1.0 vs lib/emojidex/data/category.rb in emojidex-0.2.0

- old
+ new

@@ -1,14 +1,14 @@ -# encoding: utf-8 +module Emojidex + module Data + # Category information + class Category + attr_accessor :code, :en, :ja -module Emojidex::Data - # Category information - class Category - attr_accessor :code, :en, :ja - - def initialize(details = {}) - @code = details[:code].to_sym - @en = details[:en] - @ja = details[:ja] + def initialize(details = {}) + @code = details[:code].to_sym + @en = details[:en] + @ja = details[:ja] + end end end end