Class: DotkaM::GameMode

Inherits:
Raw
  • Object
show all
Defined in:
lib/dotka/game_mode.rb

Instance Attribute Summary

Attributes inherited from Raw

#raw

Instance Method Summary collapse

Methods inherited from Raw

#initialize

Constructor Details

This class inherits a constructor from DotkaM::Raw

Instance Method Details

#idObject



5
6
7
# File 'lib/dotka/game_mode.rb', line 5

def id
	@raw["id"].to_i
end

#localized_nameObject



8
9
10
# File 'lib/dotka/game_mode.rb', line 8

def localized_name
	@raw["name"]
end