Sha256: 362830783d848dc22f7fbff7c36d94d7523aa5d8fd0fd97d4033f1d18ccbcf97
Contents?: true
Size: 556 Bytes
Versions: 4
Compression:
Stored size: 556 Bytes
Contents
require 'memoist' module EveOnline class CharacterJumpCloneImplants extend Memoist attr_reader :result def initialize(result) @result = result end def jump_clone_implants output = [] rowset.each do |jump_clone_implant| output << JumpCloneImplant.new(jump_clone_implant) end output end memoize :jump_clone_implants private def rowset result.fetch('rowset').reject { |a| a.fetch('@name') != 'jumpCloneImplants' }.first.fetch('row') end memoize :rowset end end
Version data entries
4 entries across 4 versions & 1 rubygems