class Dota::API::Match::Unit

Attributes

items[R]
name[R]

Public Class Methods

new(name, items) click to toggle source
# File lib/dota/api/match/unit.rb, line 7
def initialize(name, items)
  @name = name.titlecase
  @items = items
end