steam-condenser 1.2.0 → 1.2.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (371) hide show
  1. data/Gemfile.lock +7 -7
  2. data/README.md +9 -2
  3. data/doc/A2M_GET_SERVERS_BATCH2_Packet.html +426 -0
  4. data/doc/A2S_INFO_Packet.html +260 -0
  5. data/doc/A2S_PLAYER_Packet.html +295 -0
  6. data/doc/A2S_RULES_Packet.html +296 -0
  7. data/doc/A2S_SERVERQUERY_GETCHALLENGE_Packet.html +261 -0
  8. data/doc/AbstractL4DStats.html +978 -0
  9. data/doc/AbstractL4DWeapon.html +734 -0
  10. data/doc/Achievement.html +660 -0
  11. data/doc/AlienSwarmMission.html +1557 -0
  12. data/doc/AlienSwarmStats.html +965 -0
  13. data/doc/AlienSwarmWeapon.html +640 -0
  14. data/doc/AppNews.html +1442 -0
  15. data/doc/C2M_CHECKMD5_Packet.html +341 -0
  16. data/doc/CSSMap.html +806 -0
  17. data/doc/CSSStats.html +825 -0
  18. data/doc/CSSWeapon.html +889 -0
  19. data/doc/Cacheable.html +913 -0
  20. data/doc/Cacheable/ClassMethods.html +696 -0
  21. data/doc/DefenseGridStats.html +2559 -0
  22. data/doc/DoDSClass.html +1264 -0
  23. data/doc/DoDSStats.html +486 -0
  24. data/doc/DoDSWeapon.html +806 -0
  25. data/doc/Dota2BetaInventory.html +339 -0
  26. data/doc/Dota2Inventory.html +339 -0
  27. data/doc/Dota2Item.html +388 -0
  28. data/doc/Dota2Stats.html +366 -0
  29. data/doc/GameAchievement.html +1257 -0
  30. data/doc/GameClass.html +321 -0
  31. data/doc/GameInventory.html +1363 -0
  32. data/doc/GameItem.html +1339 -0
  33. data/doc/GameLeaderboard.html +1609 -0
  34. data/doc/GameLeaderboardEntry.html +629 -0
  35. data/doc/GameSchema.html +568 -0
  36. data/doc/GameServer.html +2405 -0
  37. data/doc/GameStats.html +1461 -0
  38. data/doc/GameWeapon.html +590 -0
  39. data/doc/GoldSrcServer.html +740 -0
  40. data/doc/GoldSrcSocket.html +850 -0
  41. data/doc/ItemSchema.html +780 -0
  42. data/doc/L4D2Map.html +739 -0
  43. data/doc/L4D2Stats.html +930 -0
  44. data/doc/L4D2Weapon.html +486 -0
  45. data/doc/L4DExplosive.html +374 -0
  46. data/doc/L4DMap.html +776 -0
  47. data/doc/L4DStats.html +530 -0
  48. data/doc/L4DWeapon.html +296 -0
  49. data/doc/M2A_SERVER_BATCH_Packet.html +430 -0
  50. data/doc/M2C_ISVALIDMD5_Packet.html +383 -0
  51. data/doc/M2S_REQUESTRESTART_Packet.html +382 -0
  52. data/doc/MasterServer.html +1070 -0
  53. data/doc/MasterServerSocket.html +293 -0
  54. data/doc/Module.html +194 -0
  55. data/doc/PacketFormatError.html +257 -0
  56. data/doc/Portal2Inventory.html +339 -0
  57. data/doc/Portal2Item.html +499 -0
  58. data/doc/Portal2Stats.html +368 -0
  59. data/doc/RCONAuthRequest.html +318 -0
  60. data/doc/RCONAuthResponse.html +305 -0
  61. data/doc/RCONBanError.html +247 -0
  62. data/doc/RCONExecRequest.html +318 -0
  63. data/doc/RCONExecResponse.html +407 -0
  64. data/doc/RCONGoldSrcRequest.html +363 -0
  65. data/doc/RCONGoldSrcResponse.html +367 -0
  66. data/doc/RCONNoAuthError.html +247 -0
  67. data/doc/RCONPacket.html +548 -0
  68. data/doc/RCONPacketFactory.html +300 -0
  69. data/doc/RCONSocket.html +669 -0
  70. data/doc/RCONTerminator.html +304 -0
  71. data/doc/RequestWithChallenge.html +233 -0
  72. data/doc/S2A_INFO2_Packet.html +371 -0
  73. data/doc/S2A_INFO_BasePacket.html +357 -0
  74. data/doc/S2A_INFO_DETAILED_Packet.html +370 -0
  75. data/doc/S2A_LOGSTRING_Packet.html +373 -0
  76. data/doc/S2A_PLAYER_Packet.html +417 -0
  77. data/doc/S2A_RULES_Packet.html +411 -0
  78. data/doc/S2C_CHALLENGE_Packet.html +370 -0
  79. data/doc/S2M_HEARTBEAT2_Packet.html +444 -0
  80. data/doc/Server.html +781 -0
  81. data/doc/SourceServer.html +776 -0
  82. data/doc/SourceSocket.html +366 -0
  83. data/doc/StatsAttribute.html +514 -0
  84. data/doc/SteamCondenser.html +155 -0
  85. data/doc/SteamCondenser/A2M_GET_SERVERS_BATCH2_Packet.html +413 -0
  86. data/doc/SteamCondenser/A2S_INFO_Packet.html +249 -0
  87. data/doc/SteamCondenser/A2S_PLAYER_Packet.html +281 -0
  88. data/doc/SteamCondenser/A2S_RULES_Packet.html +282 -0
  89. data/doc/SteamCondenser/A2S_SERVERQUERY_GETCHALLENGE_Packet.html +250 -0
  90. data/doc/SteamCondenser/AbstractL4DStats.html +954 -0
  91. data/doc/SteamCondenser/AbstractL4DWeapon.html +703 -0
  92. data/doc/SteamCondenser/AlienSwarmMission.html +1494 -0
  93. data/doc/SteamCondenser/AlienSwarmStats.html +938 -0
  94. data/doc/SteamCondenser/AlienSwarmWeapon.html +614 -0
  95. data/doc/SteamCondenser/AppNews.html +1387 -0
  96. data/doc/SteamCondenser/C2M_CHECKMD5_Packet.html +327 -0
  97. data/doc/SteamCondenser/CSSMap.html +774 -0
  98. data/doc/SteamCondenser/CSSStats.html +799 -0
  99. data/doc/SteamCondenser/CSSWeapon.html +855 -0
  100. data/doc/SteamCondenser/Cacheable.html +698 -0
  101. data/doc/SteamCondenser/Cacheable/ClassMethods.html +531 -0
  102. data/doc/SteamCondenser/Community.html +134 -0
  103. data/doc/SteamCondenser/DefenseGridStats.html +2455 -0
  104. data/doc/SteamCondenser/DoDSClass.html +1209 -0
  105. data/doc/SteamCondenser/DoDSStats.html +470 -0
  106. data/doc/SteamCondenser/DoDSWeapon.html +774 -0
  107. data/doc/SteamCondenser/Error.html +156 -0
  108. data/doc/SteamCondenser/Error/PacketFormat.html +246 -0
  109. data/doc/SteamCondenser/Error/RCONBan.html +237 -0
  110. data/doc/SteamCondenser/Error/RCONNoAuth.html +236 -0
  111. data/doc/SteamCondenser/Error/Timeout.html +238 -0
  112. data/doc/SteamCondenser/Error/WebApi.html +339 -0
  113. data/doc/SteamCondenser/GameAchievement.html +1210 -0
  114. data/doc/SteamCondenser/GameClass.html +306 -0
  115. data/doc/SteamCondenser/GameInventory.html +1236 -0
  116. data/doc/SteamCondenser/GameItem.html +1282 -0
  117. data/doc/SteamCondenser/GameLeaderboard.html +1562 -0
  118. data/doc/SteamCondenser/GameLeaderboardEntry.html +604 -0
  119. data/doc/SteamCondenser/GameServer.html +2337 -0
  120. data/doc/SteamCondenser/GameStats.html +1416 -0
  121. data/doc/SteamCondenser/GameWeapon.html +566 -0
  122. data/doc/SteamCondenser/GoldSrcServer.html +716 -0
  123. data/doc/SteamCondenser/GoldSrcSocket.html +831 -0
  124. data/doc/SteamCondenser/L4D2Map.html +713 -0
  125. data/doc/SteamCondenser/L4D2Stats.html +906 -0
  126. data/doc/SteamCondenser/L4D2Weapon.html +466 -0
  127. data/doc/SteamCondenser/L4DExplosive.html +362 -0
  128. data/doc/SteamCondenser/L4DMap.html +746 -0
  129. data/doc/SteamCondenser/L4DStats.html +513 -0
  130. data/doc/SteamCondenser/L4DWeapon.html +284 -0
  131. data/doc/SteamCondenser/M2A_SERVER_BATCH_Packet.html +415 -0
  132. data/doc/SteamCondenser/M2C_ISVALIDMD5_Packet.html +368 -0
  133. data/doc/SteamCondenser/M2S_REQUESTRESTART_Packet.html +367 -0
  134. data/doc/SteamCondenser/MasterServer.html +1046 -0
  135. data/doc/SteamCondenser/MasterServerSocket.html +282 -0
  136. data/doc/SteamCondenser/Portal2Inventory.html +217 -0
  137. data/doc/SteamCondenser/Portal2Item.html +483 -0
  138. data/doc/SteamCondenser/Portal2Stats.html +353 -0
  139. data/doc/SteamCondenser/RCONAuthRequest.html +306 -0
  140. data/doc/SteamCondenser/RCONAuthResponse.html +293 -0
  141. data/doc/SteamCondenser/RCONExecRequest.html +306 -0
  142. data/doc/SteamCondenser/RCONExecResponse.html +392 -0
  143. data/doc/SteamCondenser/RCONGoldSrcRequest.html +349 -0
  144. data/doc/SteamCondenser/RCONGoldSrcResponse.html +354 -0
  145. data/doc/SteamCondenser/RCONPacket.html +530 -0
  146. data/doc/SteamCondenser/RCONPacketFactory.html +293 -0
  147. data/doc/SteamCondenser/RCONSocket.html +649 -0
  148. data/doc/SteamCondenser/RCONTerminator.html +292 -0
  149. data/doc/SteamCondenser/RequestWithChallenge.html +223 -0
  150. data/doc/SteamCondenser/S2A_INFO2_Packet.html +359 -0
  151. data/doc/SteamCondenser/S2A_INFO_BasePacket.html +342 -0
  152. data/doc/SteamCondenser/S2A_INFO_DETAILED_Packet.html +358 -0
  153. data/doc/SteamCondenser/S2A_LOGSTRING_Packet.html +358 -0
  154. data/doc/SteamCondenser/S2A_PLAYER_Packet.html +402 -0
  155. data/doc/SteamCondenser/S2A_RULES_Packet.html +396 -0
  156. data/doc/SteamCondenser/S2C_CHALLENGE_Packet.html +356 -0
  157. data/doc/SteamCondenser/S2M_HEARTBEAT2_Packet.html +430 -0
  158. data/doc/SteamCondenser/Server.html +754 -0
  159. data/doc/SteamCondenser/Servers.html +133 -0
  160. data/doc/SteamCondenser/SourceServer.html +752 -0
  161. data/doc/SteamCondenser/SourceSocket.html +355 -0
  162. data/doc/SteamCondenser/SteamGame.html +1802 -0
  163. data/doc/SteamCondenser/SteamGroup.html +969 -0
  164. data/doc/SteamCondenser/SteamId.html +4242 -0
  165. data/doc/SteamCondenser/SteamPacket.html +456 -0
  166. data/doc/SteamCondenser/SteamPacketFactory.html +521 -0
  167. data/doc/SteamCondenser/SteamPlayer.html +1696 -0
  168. data/doc/SteamCondenser/SteamSocket.html +679 -0
  169. data/doc/SteamCondenser/TF2BetaInventory.html +198 -0
  170. data/doc/SteamCondenser/TF2Class.html +1145 -0
  171. data/doc/SteamCondenser/TF2ClassFactory.html +263 -0
  172. data/doc/SteamCondenser/TF2Engineer.html +534 -0
  173. data/doc/SteamCondenser/TF2GoldenWrench.html +731 -0
  174. data/doc/SteamCondenser/TF2Inventory.html +217 -0
  175. data/doc/SteamCondenser/TF2Item.html +482 -0
  176. data/doc/SteamCondenser/TF2Medic.html +445 -0
  177. data/doc/SteamCondenser/TF2Sniper.html +357 -0
  178. data/doc/SteamCondenser/TF2Spy.html +531 -0
  179. data/doc/SteamCondenser/TF2Stats.html +670 -0
  180. data/doc/SteamCondenser/TimeoutError.html +249 -0
  181. data/doc/SteamCondenser/WebApi.html +999 -0
  182. data/doc/SteamCondenser/XMLData.html +171 -0
  183. data/doc/SteamCondenserError.html +153 -0
  184. data/doc/SteamGame.html +1859 -0
  185. data/doc/SteamGroup.html +1012 -0
  186. data/doc/SteamId.html +4369 -0
  187. data/doc/SteamPacket.html +469 -0
  188. data/doc/SteamPacketFactory.html +545 -0
  189. data/doc/SteamPlayer.html +1766 -0
  190. data/doc/SteamSocket.html +699 -0
  191. data/doc/StringIO.html +947 -0
  192. data/doc/TF2BetaInventory.html +315 -0
  193. data/doc/TF2Class.html +1194 -0
  194. data/doc/TF2ClassFactory.html +273 -0
  195. data/doc/TF2Engineer.html +558 -0
  196. data/doc/TF2GoldenWrench.html +760 -0
  197. data/doc/TF2Inventory.html +339 -0
  198. data/doc/TF2Item.html +499 -0
  199. data/doc/TF2Medic.html +465 -0
  200. data/doc/TF2Sniper.html +373 -0
  201. data/doc/TF2Spy.html +555 -0
  202. data/doc/TF2Stats.html +696 -0
  203. data/doc/WebApi.html +1021 -0
  204. data/doc/WebApiError.html +347 -0
  205. data/doc/XMLData.html +253 -0
  206. data/doc/_index.html +717 -0
  207. data/doc/class_list.html +53 -0
  208. data/doc/css/common.css +1 -0
  209. data/doc/css/full_list.css +57 -0
  210. data/doc/css/style.css +328 -0
  211. data/doc/file.LICENSE.html +100 -0
  212. data/doc/file.README.html +136 -0
  213. data/doc/file_list.html +58 -0
  214. data/doc/frames.html +28 -0
  215. data/doc/index.html +136 -0
  216. data/doc/js/app.js +214 -0
  217. data/doc/js/full_list.js +173 -0
  218. data/doc/js/jquery.js +4 -0
  219. data/doc/method_list.html +3988 -0
  220. data/doc/methods_list.html +3900 -0
  221. data/doc/top-level-namespace.html +114 -0
  222. data/lib/steam-condenser/version.rb +1 -1
  223. data/lib/steam/community/cacheable.rb +105 -44
  224. data/lib/steam/community/dota2/dota2_beta_inventory.rb +27 -0
  225. data/lib/steam/community/dota2/dota2_inventory.rb +27 -0
  226. data/lib/steam/community/dota2/dota2_item.rb +33 -0
  227. data/lib/steam/community/game_inventory.rb +18 -16
  228. data/lib/steam/community/game_leaderboard.rb +2 -2
  229. data/lib/steam/community/game_stats.rb +1 -1
  230. data/lib/steam/community/portal2/portal2_inventory.rb +11 -9
  231. data/lib/steam/community/steam_game.rb +0 -2
  232. data/lib/steam/community/steam_group.rb +2 -7
  233. data/lib/steam/community/steam_id.rb +2 -7
  234. data/lib/steam/community/tf2/tf2_beta_inventory.rb +11 -8
  235. data/lib/steam/community/tf2/tf2_inventory.rb +11 -9
  236. data/lib/steam/community/xml_data.rb +8 -1
  237. data/lib/steam/packets/a2s_player_packet.rb +1 -1
  238. data/lib/steam/packets/a2s_rules_packet.rb +1 -1
  239. data/lib/steam/servers/master_server.rb +3 -2
  240. data/lib/steam/sockets/rcon_socket.rb +1 -2
  241. data/pkg/steam-condenser-1.2.0.gem +0 -0
  242. data/pkg/steam-condenser-1.2.0/Gemfile +3 -0
  243. data/pkg/steam-condenser-1.2.0/Gemfile.lock +30 -0
  244. data/pkg/steam-condenser-1.2.0/LICENSE +25 -0
  245. data/pkg/steam-condenser-1.2.0/README.md +47 -0
  246. data/pkg/steam-condenser-1.2.0/Rakefile +46 -0
  247. data/pkg/steam-condenser-1.2.0/lib/core_ext/stringio.rb +91 -0
  248. data/pkg/steam-condenser-1.2.0/lib/errors/packet_format_error.rb +21 -0
  249. data/pkg/steam-condenser-1.2.0/lib/errors/rcon_ban_error.rb +22 -0
  250. data/pkg/steam-condenser-1.2.0/lib/errors/rcon_no_auth_error.rb +21 -0
  251. data/pkg/steam-condenser-1.2.0/lib/errors/steam_condenser_error.rb +11 -0
  252. data/pkg/steam-condenser-1.2.0/lib/errors/timeout_error.rb +28 -0
  253. data/pkg/steam-condenser-1.2.0/lib/errors/web_api_error.rb +57 -0
  254. data/pkg/steam-condenser-1.2.0/lib/steam-condenser.rb +18 -0
  255. data/pkg/steam-condenser-1.2.0/lib/steam-condenser/community.rb +24 -0
  256. data/pkg/steam-condenser-1.2.0/lib/steam-condenser/servers.rb +24 -0
  257. data/pkg/steam-condenser-1.2.0/lib/steam-condenser/version.rb +11 -0
  258. data/pkg/steam-condenser-1.2.0/lib/steam/community/alien_swarm/alien_swarm_mission.rb +119 -0
  259. data/pkg/steam-condenser-1.2.0/lib/steam/community/alien_swarm/alien_swarm_stats.rb +179 -0
  260. data/pkg/steam-condenser-1.2.0/lib/steam/community/alien_swarm/alien_swarm_weapon.rb +49 -0
  261. data/pkg/steam-condenser-1.2.0/lib/steam/community/app_news.rb +133 -0
  262. data/pkg/steam-condenser-1.2.0/lib/steam/community/cacheable.rb +137 -0
  263. data/pkg/steam-condenser-1.2.0/lib/steam/community/css/css_map.rb +61 -0
  264. data/pkg/steam-condenser-1.2.0/lib/steam/community/css/css_stats.rb +136 -0
  265. data/pkg/steam-condenser-1.2.0/lib/steam/community/css/css_weapon.rb +69 -0
  266. data/pkg/steam-condenser-1.2.0/lib/steam/community/defense_grid/defense_grid_stats.rb +237 -0
  267. data/pkg/steam-condenser-1.2.0/lib/steam/community/dods/dods_class.rb +90 -0
  268. data/pkg/steam-condenser-1.2.0/lib/steam/community/dods/dods_stats.rb +61 -0
  269. data/pkg/steam-condenser-1.2.0/lib/steam/community/dods/dods_weapon.rb +67 -0
  270. data/pkg/steam-condenser-1.2.0/lib/steam/community/game_achievement.rb +109 -0
  271. data/pkg/steam-condenser-1.2.0/lib/steam/community/game_class.rb +22 -0
  272. data/pkg/steam-condenser-1.2.0/lib/steam/community/game_inventory.rb +152 -0
  273. data/pkg/steam-condenser-1.2.0/lib/steam/community/game_item.rb +99 -0
  274. data/pkg/steam-condenser-1.2.0/lib/steam/community/game_leaderboard.rb +201 -0
  275. data/pkg/steam-condenser-1.2.0/lib/steam/community/game_leaderboard_entry.rb +43 -0
  276. data/pkg/steam-condenser-1.2.0/lib/steam/community/game_stats.rb +175 -0
  277. data/pkg/steam-condenser-1.2.0/lib/steam/community/game_weapon.rb +41 -0
  278. data/pkg/steam-condenser-1.2.0/lib/steam/community/l4d/abstract_l4d_stats.rb +173 -0
  279. data/pkg/steam-condenser-1.2.0/lib/steam/community/l4d/abstract_l4d_weapon.rb +56 -0
  280. data/pkg/steam-condenser-1.2.0/lib/steam/community/l4d/l4d2_map.rb +90 -0
  281. data/pkg/steam-condenser-1.2.0/lib/steam/community/l4d/l4d2_stats.rb +165 -0
  282. data/pkg/steam-condenser-1.2.0/lib/steam/community/l4d/l4d2_weapon.rb +38 -0
  283. data/pkg/steam-condenser-1.2.0/lib/steam/community/l4d/l4d_explosive.rb +34 -0
  284. data/pkg/steam-condenser-1.2.0/lib/steam/community/l4d/l4d_map.rb +65 -0
  285. data/pkg/steam-condenser-1.2.0/lib/steam/community/l4d/l4d_stats.rb +71 -0
  286. data/pkg/steam-condenser-1.2.0/lib/steam/community/l4d/l4d_weapon.rb +26 -0
  287. data/pkg/steam-condenser-1.2.0/lib/steam/community/portal2/portal2_inventory.rb +25 -0
  288. data/pkg/steam-condenser-1.2.0/lib/steam/community/portal2/portal2_item.rb +47 -0
  289. data/pkg/steam-condenser-1.2.0/lib/steam/community/portal2/portal2_stats.rb +32 -0
  290. data/pkg/steam-condenser-1.2.0/lib/steam/community/steam_game.rb +182 -0
  291. data/pkg/steam-condenser-1.2.0/lib/steam/community/steam_group.rb +135 -0
  292. data/pkg/steam-condenser-1.2.0/lib/steam/community/steam_id.rb +513 -0
  293. data/pkg/steam-condenser-1.2.0/lib/steam/community/tf2/tf2_beta_inventory.rb +22 -0
  294. data/pkg/steam-condenser-1.2.0/lib/steam/community/tf2/tf2_class.rb +92 -0
  295. data/pkg/steam-condenser-1.2.0/lib/steam/community/tf2/tf2_class_factory.rb +40 -0
  296. data/pkg/steam-condenser-1.2.0/lib/steam/community/tf2/tf2_engineer.rb +43 -0
  297. data/pkg/steam-condenser-1.2.0/lib/steam/community/tf2/tf2_golden_wrench.rb +70 -0
  298. data/pkg/steam-condenser-1.2.0/lib/steam/community/tf2/tf2_inventory.rb +25 -0
  299. data/pkg/steam-condenser-1.2.0/lib/steam/community/tf2/tf2_item.rb +47 -0
  300. data/pkg/steam-condenser-1.2.0/lib/steam/community/tf2/tf2_medic.rb +35 -0
  301. data/pkg/steam-condenser-1.2.0/lib/steam/community/tf2/tf2_sniper.rb +28 -0
  302. data/pkg/steam-condenser-1.2.0/lib/steam/community/tf2/tf2_spy.rb +41 -0
  303. data/pkg/steam-condenser-1.2.0/lib/steam/community/tf2/tf2_stats.rb +76 -0
  304. data/pkg/steam-condenser-1.2.0/lib/steam/community/web_api.rb +129 -0
  305. data/pkg/steam-condenser-1.2.0/lib/steam/community/xml_data.rb +17 -0
  306. data/pkg/steam-condenser-1.2.0/lib/steam/packets/a2m_get_servers_batch2_packet.rb +59 -0
  307. data/pkg/steam-condenser-1.2.0/lib/steam/packets/a2s_info_packet.rb +24 -0
  308. data/pkg/steam-condenser-1.2.0/lib/steam/packets/a2s_player_packet.rb +31 -0
  309. data/pkg/steam-condenser-1.2.0/lib/steam/packets/a2s_rules_packet.rb +32 -0
  310. data/pkg/steam-condenser-1.2.0/lib/steam/packets/a2s_serverquery_getchallenge_packet.rb +25 -0
  311. data/pkg/steam-condenser-1.2.0/lib/steam/packets/c2m_checkmd5_packet.rb +30 -0
  312. data/pkg/steam-condenser-1.2.0/lib/steam/packets/m2a_server_batch_packet.rb +52 -0
  313. data/pkg/steam-condenser-1.2.0/lib/steam/packets/m2c_isvalidmd5_packet.rb +34 -0
  314. data/pkg/steam-condenser-1.2.0/lib/steam/packets/m2s_requestrestart_packet.rb +34 -0
  315. data/pkg/steam-condenser-1.2.0/lib/steam/packets/rcon/rcon_auth_request.rb +28 -0
  316. data/pkg/steam-condenser-1.2.0/lib/steam/packets/rcon/rcon_auth_response.rb +30 -0
  317. data/pkg/steam-condenser-1.2.0/lib/steam/packets/rcon/rcon_exec_request.rb +28 -0
  318. data/pkg/steam-condenser-1.2.0/lib/steam/packets/rcon/rcon_exec_response.rb +37 -0
  319. data/pkg/steam-condenser-1.2.0/lib/steam/packets/rcon/rcon_goldsrc_request.rb +35 -0
  320. data/pkg/steam-condenser-1.2.0/lib/steam/packets/rcon/rcon_goldsrc_response.rb +34 -0
  321. data/pkg/steam-condenser-1.2.0/lib/steam/packets/rcon/rcon_packet.rb +57 -0
  322. data/pkg/steam-condenser-1.2.0/lib/steam/packets/rcon/rcon_packet_factory.rb +43 -0
  323. data/pkg/steam-condenser-1.2.0/lib/steam/packets/rcon/rcon_terminator.rb +29 -0
  324. data/pkg/steam-condenser-1.2.0/lib/steam/packets/request_with_challenge.rb +19 -0
  325. data/pkg/steam-condenser-1.2.0/lib/steam/packets/s2a_info2_packet.rb +62 -0
  326. data/pkg/steam-condenser-1.2.0/lib/steam/packets/s2a_info_base_packet.rb +35 -0
  327. data/pkg/steam-condenser-1.2.0/lib/steam/packets/s2a_info_detailed_packet.rb +61 -0
  328. data/pkg/steam-condenser-1.2.0/lib/steam/packets/s2a_logstring_packet.rb +30 -0
  329. data/pkg/steam-condenser-1.2.0/lib/steam/packets/s2a_player_packet.rb +44 -0
  330. data/pkg/steam-condenser-1.2.0/lib/steam/packets/s2a_rules_packet.rb +48 -0
  331. data/pkg/steam-condenser-1.2.0/lib/steam/packets/s2c_challenge_packet.rb +35 -0
  332. data/pkg/steam-condenser-1.2.0/lib/steam/packets/s2m_heartbeat2_packet.rb +71 -0
  333. data/pkg/steam-condenser-1.2.0/lib/steam/packets/steam_packet.rb +52 -0
  334. data/pkg/steam-condenser-1.2.0/lib/steam/packets/steam_packet_factory.rb +108 -0
  335. data/pkg/steam-condenser-1.2.0/lib/steam/servers/game_server.rb +392 -0
  336. data/pkg/steam-condenser-1.2.0/lib/steam/servers/goldsrc_server.rb +74 -0
  337. data/pkg/steam-condenser-1.2.0/lib/steam/servers/master_server.rb +182 -0
  338. data/pkg/steam-condenser-1.2.0/lib/steam/servers/server.rb +104 -0
  339. data/pkg/steam-condenser-1.2.0/lib/steam/servers/source_server.rb +98 -0
  340. data/pkg/steam-condenser-1.2.0/lib/steam/sockets/goldsrc_socket.rb +142 -0
  341. data/pkg/steam-condenser-1.2.0/lib/steam/sockets/master_server_socket.rb +30 -0
  342. data/pkg/steam-condenser-1.2.0/lib/steam/sockets/rcon_socket.rb +94 -0
  343. data/pkg/steam-condenser-1.2.0/lib/steam/sockets/source_socket.rb +78 -0
  344. data/pkg/steam-condenser-1.2.0/lib/steam/sockets/steam_socket.rb +86 -0
  345. data/pkg/steam-condenser-1.2.0/lib/steam/steam_player.rb +143 -0
  346. data/pkg/steam-condenser-1.2.0/steam-condenser.gemspec +25 -0
  347. data/pkg/steam-condenser-1.2.0/test/core_ext/test_stringio.rb +59 -0
  348. data/pkg/steam-condenser-1.2.0/test/fixtures/invalid.xml +2 -0
  349. data/pkg/steam-condenser-1.2.0/test/fixtures/sonofthor.xml +882 -0
  350. data/pkg/steam-condenser-1.2.0/test/fixtures/status_goldsrc +3 -0
  351. data/pkg/steam-condenser-1.2.0/test/fixtures/status_source +3 -0
  352. data/pkg/steam-condenser-1.2.0/test/fixtures/valve-members.xml +231 -0
  353. data/pkg/steam-condenser-1.2.0/test/helper.rb +45 -0
  354. data/pkg/steam-condenser-1.2.0/test/steam/communtiy/test_steam_group.rb +83 -0
  355. data/pkg/steam-condenser-1.2.0/test/steam/communtiy/test_steam_id.rb +111 -0
  356. data/pkg/steam-condenser-1.2.0/test/steam/communtiy/test_web_api.rb +98 -0
  357. data/pkg/steam-condenser-1.2.0/test/steam/packets/test_steam_packet.rb +37 -0
  358. data/pkg/steam-condenser-1.2.0/test/steam/servers/test_game_server.rb +296 -0
  359. data/pkg/steam-condenser-1.2.0/test/steam/servers/test_goldsrc_server.rb +59 -0
  360. data/pkg/steam-condenser-1.2.0/test/steam/servers/test_master_server.rb +131 -0
  361. data/pkg/steam-condenser-1.2.0/test/steam/servers/test_server.rb +72 -0
  362. data/pkg/steam-condenser-1.2.0/test/steam/servers/test_source_server.rb +126 -0
  363. data/pkg/steam-condenser-1.2.0/test/steam/sockets/test_goldsrc_socket.rb +127 -0
  364. data/pkg/steam-condenser-1.2.0/test/steam/sockets/test_master_server_socket.rb +42 -0
  365. data/pkg/steam-condenser-1.2.0/test/steam/sockets/test_rcon_socket.rb +109 -0
  366. data/pkg/steam-condenser-1.2.0/test/steam/sockets/test_source_socket.rb +77 -0
  367. data/pkg/steam-condenser-1.2.0/test/steam/sockets/test_steam_socket.rb +97 -0
  368. data/steam-condenser.gemspec +3 -3
  369. data/test/steam/communtiy/test_cacheable.rb +100 -0
  370. data/test/steam/servers/test_master_server.rb +3 -3
  371. metadata +366 -15
@@ -0,0 +1,1387 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
4
+ <head>
5
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
6
+ <title>
7
+ Class: SteamCondenser::AppNews
8
+
9
+ &mdash; Steam Condenser – Ruby API
10
+
11
+ </title>
12
+
13
+ <link rel="stylesheet" href="../css/style.css" type="text/css" media="screen" charset="utf-8" />
14
+
15
+ <link rel="stylesheet" href="../css/common.css" type="text/css" media="screen" charset="utf-8" />
16
+
17
+ <script type="text/javascript" charset="utf-8">
18
+ relpath = '..';
19
+ if (relpath != '') relpath += '/';
20
+ </script>
21
+
22
+ <script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>
23
+
24
+ <script type="text/javascript" charset="utf-8" src="../js/app.js"></script>
25
+
26
+
27
+ </head>
28
+ <body>
29
+ <script type="text/javascript" charset="utf-8">
30
+ if (window.top.frames.main) document.body.className = 'frames';
31
+ </script>
32
+
33
+ <div id="header">
34
+ <div id="menu">
35
+
36
+ <a href="../_index.html">Index (A)</a> &raquo;
37
+ <span class='title'><span class='object_link'><a href="../SteamCondenser.html" title="SteamCondenser (module)">SteamCondenser</a></span></span>
38
+ &raquo;
39
+ <span class="title">AppNews</span>
40
+
41
+
42
+ <div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
43
+ </div>
44
+
45
+ <div id="search">
46
+
47
+ <a id="class_list_link" href="#">Class List</a>
48
+
49
+ <a id="method_list_link" href="#">Method List</a>
50
+
51
+ <a id="file_list_link" href="#">File List</a>
52
+
53
+ </div>
54
+ <div class="clear"></div>
55
+ </div>
56
+
57
+ <iframe id="search_frame"></iframe>
58
+
59
+ <div id="content"><h1>Class: SteamCondenser::AppNews
60
+
61
+
62
+
63
+ </h1>
64
+
65
+ <dl class="box">
66
+
67
+ <dt class="r1">Inherits:</dt>
68
+ <dd class="r1">
69
+ <span class="inheritName">Object</span>
70
+
71
+ <ul class="fullTree">
72
+ <li>Object</li>
73
+
74
+ <li class="next">SteamCondenser::AppNews</li>
75
+
76
+ </ul>
77
+ <a href="#" class="inheritanceTree">show all</a>
78
+
79
+ </dd>
80
+
81
+
82
+
83
+
84
+
85
+
86
+
87
+
88
+
89
+ <dt class="r2 last">Defined in:</dt>
90
+ <dd class="r2 last">lib/steam/community/app_news.rb</dd>
91
+
92
+ </dl>
93
+ <div class="clear"></div>
94
+
95
+ <h2>Overview</h2><div class="docstring">
96
+ <div class="discussion">
97
+ <p>This class represents Steam news and can be used to load a list of current
98
+ news about specific games</p>
99
+
100
+
101
+ </div>
102
+ </div>
103
+ <div class="tags">
104
+
105
+ <h3>Author:</h3>
106
+ <ul class="author">
107
+
108
+ <li>
109
+
110
+
111
+
112
+
113
+
114
+ <div class='inline'><p>Sebastian Staudt</p>
115
+ </div>
116
+
117
+ </li>
118
+
119
+ </ul>
120
+
121
+ </div>
122
+
123
+
124
+
125
+ <h2>Instance Attribute Summary <small>(<a href="#" class="summary_toggle">collapse</a>)</small></h2>
126
+ <ul class="summary">
127
+
128
+ <li class="public ">
129
+ <span class="summary_signature">
130
+
131
+ <a href="#app_id-instance_method" title="#app_id (instance method)">- (Fixnum) <strong>app_id</strong> </a>
132
+
133
+
134
+
135
+ </span>
136
+
137
+
138
+ <span class="note title readonly">readonly</span>
139
+
140
+
141
+
142
+
143
+
144
+
145
+
146
+
147
+ <span class="summary_desc"><div class='inline'><p>Returns the Steam Application ID of the game this news belongs to.</p>
148
+ </div></span>
149
+
150
+ </li>
151
+
152
+
153
+ <li class="public ">
154
+ <span class="summary_signature">
155
+
156
+ <a href="#author-instance_method" title="#author (instance method)">- (String) <strong>author</strong> </a>
157
+
158
+
159
+
160
+ </span>
161
+
162
+
163
+ <span class="note title readonly">readonly</span>
164
+
165
+
166
+
167
+
168
+
169
+
170
+
171
+
172
+ <span class="summary_desc"><div class='inline'><p>Returns the name of the author of this news.</p>
173
+ </div></span>
174
+
175
+ </li>
176
+
177
+
178
+ <li class="public ">
179
+ <span class="summary_signature">
180
+
181
+ <a href="#contents-instance_method" title="#contents (instance method)">- (String) <strong>contents</strong> </a>
182
+
183
+
184
+
185
+ </span>
186
+
187
+
188
+ <span class="note title readonly">readonly</span>
189
+
190
+
191
+
192
+
193
+
194
+
195
+
196
+
197
+ <span class="summary_desc"><div class='inline'><p>Returns the contents of this news.</p>
198
+ </div></span>
199
+
200
+ </li>
201
+
202
+
203
+ <li class="public ">
204
+ <span class="summary_signature">
205
+
206
+ <a href="#date-instance_method" title="#date (instance method)">- (Time) <strong>date</strong> </a>
207
+
208
+
209
+
210
+ </span>
211
+
212
+
213
+ <span class="note title readonly">readonly</span>
214
+
215
+
216
+
217
+
218
+
219
+
220
+
221
+
222
+ <span class="summary_desc"><div class='inline'><p>Returns the date this news item has been published.</p>
223
+ </div></span>
224
+
225
+ </li>
226
+
227
+
228
+ <li class="public ">
229
+ <span class="summary_signature">
230
+
231
+ <a href="#feed_label-instance_method" title="#feed_label (instance method)">- (String) <strong>feed_label</strong> </a>
232
+
233
+
234
+
235
+ </span>
236
+
237
+
238
+ <span class="note title readonly">readonly</span>
239
+
240
+
241
+
242
+
243
+
244
+
245
+
246
+
247
+ <span class="summary_desc"><div class='inline'><p>Returns the name of the feed this news item belongs to.</p>
248
+ </div></span>
249
+
250
+ </li>
251
+
252
+
253
+ <li class="public ">
254
+ <span class="summary_signature">
255
+
256
+ <a href="#feed_name-instance_method" title="#feed_name (instance method)">- (String) <strong>feed_name</strong> </a>
257
+
258
+
259
+
260
+ </span>
261
+
262
+
263
+ <span class="note title readonly">readonly</span>
264
+
265
+
266
+
267
+
268
+
269
+
270
+
271
+
272
+ <span class="summary_desc"><div class='inline'><p>Returns the symbolic name of the feed this news item belongs to.</p>
273
+ </div></span>
274
+
275
+ </li>
276
+
277
+
278
+ <li class="public ">
279
+ <span class="summary_signature">
280
+
281
+ <a href="#gid-instance_method" title="#gid (instance method)">- (Fixnum) <strong>gid</strong> </a>
282
+
283
+
284
+
285
+ </span>
286
+
287
+
288
+ <span class="note title readonly">readonly</span>
289
+
290
+
291
+
292
+
293
+
294
+
295
+
296
+
297
+ <span class="summary_desc"><div class='inline'><p>Returns a unique identifier for this news.</p>
298
+ </div></span>
299
+
300
+ </li>
301
+
302
+
303
+ <li class="public ">
304
+ <span class="summary_signature">
305
+
306
+ <a href="#title-instance_method" title="#title (instance method)">- (String) <strong>title</strong> </a>
307
+
308
+
309
+
310
+ </span>
311
+
312
+
313
+ <span class="note title readonly">readonly</span>
314
+
315
+
316
+
317
+
318
+
319
+
320
+
321
+
322
+ <span class="summary_desc"><div class='inline'><p>Returns the title of this news.</p>
323
+ </div></span>
324
+
325
+ </li>
326
+
327
+
328
+ <li class="public ">
329
+ <span class="summary_signature">
330
+
331
+ <a href="#url-instance_method" title="#url (instance method)">- (String) <strong>url</strong> </a>
332
+
333
+
334
+
335
+ </span>
336
+
337
+
338
+ <span class="note title readonly">readonly</span>
339
+
340
+
341
+
342
+
343
+
344
+
345
+
346
+
347
+ <span class="summary_desc"><div class='inline'><p>Returns the URL of the original news.</p>
348
+ </div></span>
349
+
350
+ </li>
351
+
352
+
353
+ </ul>
354
+
355
+
356
+
357
+
358
+
359
+ <h2>
360
+ Class Method Summary
361
+ <small>(<a href="#" class="summary_toggle">collapse</a>)</small>
362
+ </h2>
363
+
364
+ <ul class="summary">
365
+
366
+ <li class="public ">
367
+ <span class="summary_signature">
368
+
369
+ <a href="#news_for_app-class_method" title="news_for_app (class method)">+ (Array&lt;AppNews&gt;) <strong>news_for_app</strong>(app_id, count = 5, max_length = nil) </a>
370
+
371
+
372
+
373
+ </span>
374
+
375
+
376
+
377
+
378
+
379
+
380
+
381
+
382
+ <span class="summary_desc"><div class='inline'><p>Loads the news for the given game with the given restrictions.</p>
383
+ </div></span>
384
+
385
+ </li>
386
+
387
+
388
+ </ul>
389
+
390
+ <h2>
391
+ Instance Method Summary
392
+ <small>(<a href="#" class="summary_toggle">collapse</a>)</small>
393
+ </h2>
394
+
395
+ <ul class="summary">
396
+
397
+ <li class="public ">
398
+ <span class="summary_signature">
399
+
400
+ <a href="#external%3F-instance_method" title="#external? (instance method)">- (Boolean) <strong>external?</strong> </a>
401
+
402
+
403
+
404
+ </span>
405
+
406
+
407
+
408
+
409
+
410
+
411
+
412
+
413
+ <span class="summary_desc"><div class='inline'><p>Returns whether this news item originates from a source other than Steam
414
+ itself (e.g. an external blog).</p>
415
+ </div></span>
416
+
417
+ </li>
418
+
419
+
420
+ <li class="private ">
421
+ <span class="summary_signature">
422
+
423
+ <a href="#initialize-instance_method" title="#initialize (instance method)">- (AppNews) <strong>initialize</strong>(app_id, news_data) </a>
424
+
425
+
426
+
427
+ </span>
428
+
429
+ <span class="note title constructor">constructor</span>
430
+
431
+
432
+ <span class="note title private">private</span>
433
+
434
+
435
+
436
+
437
+
438
+ <span class="summary_desc"><div class='inline'><p>Creates a new instance of an AppNews news item with the given data.</p>
439
+ </div></span>
440
+
441
+ </li>
442
+
443
+
444
+ <li class="public ">
445
+ <span class="summary_signature">
446
+
447
+ <a href="#to_s-instance_method" title="#to_s (instance method)">- (String) <strong>to_s</strong> </a>
448
+
449
+
450
+
451
+ </span>
452
+
453
+
454
+
455
+
456
+
457
+
458
+
459
+
460
+ <span class="summary_desc"><div class='inline'><p>Returns a simple textual representation of this news item.</p>
461
+ </div></span>
462
+
463
+ </li>
464
+
465
+
466
+ </ul>
467
+
468
+
469
+ <div id="constructor_details" class="method_details_list">
470
+ <h2>Constructor Details</h2>
471
+
472
+ <div class="method_details first">
473
+ <p class="signature first" id="initialize-instance_method">
474
+
475
+ - (<tt><span class='object_link'><a href="" title="SteamCondenser::AppNews (class)">AppNews</a></span></tt>) <strong>initialize</strong>(app_id, news_data) <span class="extras">(private)</span>
476
+
477
+
478
+
479
+ </p><div class="docstring">
480
+ <div class="discussion">
481
+ <p>Creates a new instance of an AppNews news item with the given data</p>
482
+
483
+
484
+ </div>
485
+ </div>
486
+ <div class="tags">
487
+ <h3>Parameters:</h3>
488
+ <ul class="param">
489
+
490
+ <li>
491
+
492
+ <span class='name'>app_id</span>
493
+
494
+
495
+ <span class='type'>(<tt>Fixnum</tt>)</span>
496
+
497
+
498
+
499
+ &mdash;
500
+ <div class='inline'><p>The unique Steam Application ID of the game (e.g.
501
+ <code>440</code> for Team Fortress 2). See
502
+ <a href="http://developer.valvesoftware.com/wiki/Steam_Application_IDs">http://developer.valvesoftware.com/wiki/Steam_Application_IDs</a> for
503
+ all application IDs.</p>
504
+ </div>
505
+
506
+ </li>
507
+
508
+ <li>
509
+
510
+ <span class='name'>news_data</span>
511
+
512
+
513
+ <span class='type'>(<tt>Hash&lt;Symbol, Object&gt;</tt>)</span>
514
+
515
+
516
+
517
+ &mdash;
518
+ <div class='inline'><p>The news data extracted from JSON</p>
519
+ </div>
520
+
521
+ </li>
522
+
523
+ </ul>
524
+
525
+
526
+ </div><table class="source_code">
527
+ <tr>
528
+ <td>
529
+ <pre class="lines">
530
+
531
+
532
+ 122
533
+ 123
534
+ 124
535
+ 125
536
+ 126
537
+ 127
538
+ 128
539
+ 129
540
+ 130
541
+ 131
542
+ 132
543
+ 133</pre>
544
+ </td>
545
+ <td>
546
+ <pre class="code"><span class="info file"># File 'lib/steam/community/app_news.rb', line 122</span>
547
+
548
+ <span class='rubyid_def def kw'>def</span> <span class='rubyid_initialize identifier id'>initialize</span><span class='lparen token'>(</span><span class='rubyid_app_id identifier id'>app_id</span><span class='comma token'>,</span> <span class='rubyid_news_data identifier id'>news_data</span><span class='rparen token'>)</span>
549
+ <span class='rubyid_@app_id ivar id'>@app_id</span> <span class='assign token'>=</span> <span class='rubyid_app_id identifier id'>app_id</span>
550
+ <span class='rubyid_@author ivar id'>@author</span> <span class='assign token'>=</span> <span class='rubyid_news_data identifier id'>news_data</span><span class='lbrack token'>[</span><span class='symbol val'>:author</span><span class='rbrack token'>]</span>
551
+ <span class='rubyid_@contents ivar id'>@contents</span> <span class='assign token'>=</span> <span class='rubyid_news_data identifier id'>news_data</span><span class='lbrack token'>[</span><span class='symbol val'>:contents</span><span class='rbrack token'>]</span><span class='dot token'>.</span><span class='rubyid_strip identifier id'>strip</span>
552
+ <span class='rubyid_@data ivar id'>@data</span> <span class='assign token'>=</span> <span class='rubyid_Time constant id'>Time</span><span class='dot token'>.</span><span class='rubyid_at identifier id'>at</span><span class='lparen token'>(</span><span class='rubyid_news_data identifier id'>news_data</span><span class='lbrack token'>[</span><span class='symbol val'>:date</span><span class='rbrack token'>]</span><span class='rparen token'>)</span>
553
+ <span class='rubyid_@external ivar id'>@external</span> <span class='assign token'>=</span> <span class='rubyid_news_data identifier id'>news_data</span><span class='lbrack token'>[</span><span class='symbol val'>:is_external_url</span><span class='rbrack token'>]</span>
554
+ <span class='rubyid_@feed_label ivar id'>@feed_label</span> <span class='assign token'>=</span> <span class='rubyid_news_data identifier id'>news_data</span><span class='lbrack token'>[</span><span class='symbol val'>:feedlabel</span><span class='rbrack token'>]</span>
555
+ <span class='rubyid_@feed_name ivar id'>@feed_name</span> <span class='assign token'>=</span> <span class='rubyid_news_data identifier id'>news_data</span><span class='lbrack token'>[</span><span class='symbol val'>:feedname</span><span class='rbrack token'>]</span>
556
+ <span class='rubyid_@gid ivar id'>@gid</span> <span class='assign token'>=</span> <span class='rubyid_news_data identifier id'>news_data</span><span class='lbrack token'>[</span><span class='symbol val'>:gid</span><span class='rbrack token'>]</span>
557
+ <span class='rubyid_@title ivar id'>@title</span> <span class='assign token'>=</span> <span class='rubyid_news_data identifier id'>news_data</span><span class='lbrack token'>[</span><span class='symbol val'>:title</span><span class='rbrack token'>]</span>
558
+ <span class='rubyid_@url ivar id'>@url</span> <span class='assign token'>=</span> <span class='rubyid_news_data identifier id'>news_data</span><span class='lbrack token'>[</span><span class='symbol val'>:url</span><span class='rbrack token'>]</span>
559
+ <span class='rubyid_end end kw'>end</span>
560
+ </pre>
561
+ </td>
562
+ </tr>
563
+ </table>
564
+ </div>
565
+
566
+ </div>
567
+
568
+ <div id="instance_attr_details" class="attr_details">
569
+ <h2>Instance Attribute Details</h2>
570
+
571
+
572
+ <span id=""></span>
573
+ <span id="app_id-instance_method"></span>
574
+ <div class="method_details first">
575
+ <p class="signature first" id="app_id-instance_method">
576
+
577
+ - (<tt>Fixnum</tt>) <strong>app_id</strong> <span class="extras">(readonly)</span>
578
+
579
+
580
+
581
+ </p><div class="docstring">
582
+ <div class="discussion">
583
+ <p>Returns the Steam Application ID of the game this news belongs to</p>
584
+
585
+
586
+ </div>
587
+ </div>
588
+ <div class="tags">
589
+
590
+ <h3>Returns:</h3>
591
+ <ul class="return">
592
+
593
+ <li>
594
+
595
+
596
+ <span class='type'>(<tt>Fixnum</tt>)</span>
597
+
598
+
599
+
600
+ &mdash;
601
+ <div class='inline'><p>The application ID of the game this news belongs to</p>
602
+ </div>
603
+
604
+ </li>
605
+
606
+ </ul>
607
+
608
+ </div><table class="source_code">
609
+ <tr>
610
+ <td>
611
+ <pre class="lines">
612
+
613
+
614
+ 21
615
+ 22
616
+ 23</pre>
617
+ </td>
618
+ <td>
619
+ <pre class="code"><span class="info file"># File 'lib/steam/community/app_news.rb', line 21</span>
620
+
621
+ <span class='rubyid_def def kw'>def</span> <span class='rubyid_app_id identifier id'>app_id</span>
622
+ <span class='rubyid_@app_id ivar id'>@app_id</span>
623
+ <span class='rubyid_end end kw'>end</span>
624
+ </pre>
625
+ </td>
626
+ </tr>
627
+ </table>
628
+ </div>
629
+
630
+
631
+ <span id=""></span>
632
+ <span id="author-instance_method"></span>
633
+ <div class="method_details ">
634
+ <p class="signature " id="author-instance_method">
635
+
636
+ - (<tt>String</tt>) <strong>author</strong> <span class="extras">(readonly)</span>
637
+
638
+
639
+
640
+ </p><div class="docstring">
641
+ <div class="discussion">
642
+ <p>Returns the name of the author of this news</p>
643
+
644
+
645
+ </div>
646
+ </div>
647
+ <div class="tags">
648
+
649
+ <h3>Returns:</h3>
650
+ <ul class="return">
651
+
652
+ <li>
653
+
654
+
655
+ <span class='type'>(<tt>String</tt>)</span>
656
+
657
+
658
+
659
+ &mdash;
660
+ <div class='inline'><p>The author of this news</p>
661
+ </div>
662
+
663
+ </li>
664
+
665
+ </ul>
666
+
667
+ </div><table class="source_code">
668
+ <tr>
669
+ <td>
670
+ <pre class="lines">
671
+
672
+
673
+ 26
674
+ 27
675
+ 28</pre>
676
+ </td>
677
+ <td>
678
+ <pre class="code"><span class="info file"># File 'lib/steam/community/app_news.rb', line 26</span>
679
+
680
+ <span class='rubyid_def def kw'>def</span> <span class='rubyid_author identifier id'>author</span>
681
+ <span class='rubyid_@author ivar id'>@author</span>
682
+ <span class='rubyid_end end kw'>end</span>
683
+ </pre>
684
+ </td>
685
+ </tr>
686
+ </table>
687
+ </div>
688
+
689
+
690
+ <span id=""></span>
691
+ <span id="contents-instance_method"></span>
692
+ <div class="method_details ">
693
+ <p class="signature " id="contents-instance_method">
694
+
695
+ - (<tt>String</tt>) <strong>contents</strong> <span class="extras">(readonly)</span>
696
+
697
+
698
+
699
+ </p><div class="docstring">
700
+ <div class="discussion">
701
+
702
+ <div class="note notetag">
703
+ <strong>Note:</strong>
704
+ <div class='inline'><p>Depending on the setting for the maximum length of a news (see
705
+ news&lt;em&gt;for&lt;/em&gt;app), the contents might be truncated.</p>
706
+ </div>
707
+ </div>
708
+
709
+ <p>Returns the contents of this news</p>
710
+
711
+ <p>This might contain HTML code.</p>
712
+
713
+
714
+ </div>
715
+ </div>
716
+ <div class="tags">
717
+
718
+ <h3>Returns:</h3>
719
+ <ul class="return">
720
+
721
+ <li>
722
+
723
+
724
+ <span class='type'>(<tt>String</tt>)</span>
725
+
726
+
727
+
728
+ &mdash;
729
+ <div class='inline'><p> The contents of this news</p>
730
+ </div>
731
+
732
+ </li>
733
+
734
+ </ul>
735
+
736
+ </div><table class="source_code">
737
+ <tr>
738
+ <td>
739
+ <pre class="lines">
740
+
741
+
742
+ 35
743
+ 36
744
+ 37</pre>
745
+ </td>
746
+ <td>
747
+ <pre class="code"><span class="info file"># File 'lib/steam/community/app_news.rb', line 35</span>
748
+
749
+ <span class='rubyid_def def kw'>def</span> <span class='rubyid_contents identifier id'>contents</span>
750
+ <span class='rubyid_@contents ivar id'>@contents</span>
751
+ <span class='rubyid_end end kw'>end</span>
752
+ </pre>
753
+ </td>
754
+ </tr>
755
+ </table>
756
+ </div>
757
+
758
+
759
+ <span id=""></span>
760
+ <span id="date-instance_method"></span>
761
+ <div class="method_details ">
762
+ <p class="signature " id="date-instance_method">
763
+
764
+ - (<tt>Time</tt>) <strong>date</strong> <span class="extras">(readonly)</span>
765
+
766
+
767
+
768
+ </p><div class="docstring">
769
+ <div class="discussion">
770
+ <p>Returns the date this news item has been published</p>
771
+
772
+
773
+ </div>
774
+ </div>
775
+ <div class="tags">
776
+
777
+ <h3>Returns:</h3>
778
+ <ul class="return">
779
+
780
+ <li>
781
+
782
+
783
+ <span class='type'>(<tt>Time</tt>)</span>
784
+
785
+
786
+
787
+ &mdash;
788
+ <div class='inline'><p>The date this news has been published</p>
789
+ </div>
790
+
791
+ </li>
792
+
793
+ </ul>
794
+
795
+ </div><table class="source_code">
796
+ <tr>
797
+ <td>
798
+ <pre class="lines">
799
+
800
+
801
+ 40
802
+ 41
803
+ 42</pre>
804
+ </td>
805
+ <td>
806
+ <pre class="code"><span class="info file"># File 'lib/steam/community/app_news.rb', line 40</span>
807
+
808
+ <span class='rubyid_def def kw'>def</span> <span class='rubyid_date identifier id'>date</span>
809
+ <span class='rubyid_@date ivar id'>@date</span>
810
+ <span class='rubyid_end end kw'>end</span>
811
+ </pre>
812
+ </td>
813
+ </tr>
814
+ </table>
815
+ </div>
816
+
817
+
818
+ <span id=""></span>
819
+ <span id="feed_label-instance_method"></span>
820
+ <div class="method_details ">
821
+ <p class="signature " id="feed_label-instance_method">
822
+
823
+ - (<tt>String</tt>) <strong>feed_label</strong> <span class="extras">(readonly)</span>
824
+
825
+
826
+
827
+ </p><div class="docstring">
828
+ <div class="discussion">
829
+ <p>Returns the name of the feed this news item belongs to</p>
830
+
831
+
832
+ </div>
833
+ </div>
834
+ <div class="tags">
835
+
836
+ <h3>Returns:</h3>
837
+ <ul class="return">
838
+
839
+ <li>
840
+
841
+
842
+ <span class='type'>(<tt>String</tt>)</span>
843
+
844
+
845
+
846
+ &mdash;
847
+ <div class='inline'><p>The name of the feed this news belongs to</p>
848
+ </div>
849
+
850
+ </li>
851
+
852
+ </ul>
853
+
854
+ </div><table class="source_code">
855
+ <tr>
856
+ <td>
857
+ <pre class="lines">
858
+
859
+
860
+ 45
861
+ 46
862
+ 47</pre>
863
+ </td>
864
+ <td>
865
+ <pre class="code"><span class="info file"># File 'lib/steam/community/app_news.rb', line 45</span>
866
+
867
+ <span class='rubyid_def def kw'>def</span> <span class='rubyid_feed_label identifier id'>feed_label</span>
868
+ <span class='rubyid_@feed_label ivar id'>@feed_label</span>
869
+ <span class='rubyid_end end kw'>end</span>
870
+ </pre>
871
+ </td>
872
+ </tr>
873
+ </table>
874
+ </div>
875
+
876
+
877
+ <span id=""></span>
878
+ <span id="feed_name-instance_method"></span>
879
+ <div class="method_details ">
880
+ <p class="signature " id="feed_name-instance_method">
881
+
882
+ - (<tt>String</tt>) <strong>feed_name</strong> <span class="extras">(readonly)</span>
883
+
884
+
885
+
886
+ </p><div class="docstring">
887
+ <div class="discussion">
888
+ <p>Returns the symbolic name of the feed this news item belongs to</p>
889
+
890
+
891
+ </div>
892
+ </div>
893
+ <div class="tags">
894
+
895
+ <h3>Returns:</h3>
896
+ <ul class="return">
897
+
898
+ <li>
899
+
900
+
901
+ <span class='type'>(<tt>String</tt>)</span>
902
+
903
+
904
+
905
+ &mdash;
906
+ <div class='inline'><p>The symbolic name of the feed this news belongs to</p>
907
+ </div>
908
+
909
+ </li>
910
+
911
+ </ul>
912
+
913
+ </div><table class="source_code">
914
+ <tr>
915
+ <td>
916
+ <pre class="lines">
917
+
918
+
919
+ 50
920
+ 51
921
+ 52</pre>
922
+ </td>
923
+ <td>
924
+ <pre class="code"><span class="info file"># File 'lib/steam/community/app_news.rb', line 50</span>
925
+
926
+ <span class='rubyid_def def kw'>def</span> <span class='rubyid_feed_name identifier id'>feed_name</span>
927
+ <span class='rubyid_@feed_name ivar id'>@feed_name</span>
928
+ <span class='rubyid_end end kw'>end</span>
929
+ </pre>
930
+ </td>
931
+ </tr>
932
+ </table>
933
+ </div>
934
+
935
+
936
+ <span id=""></span>
937
+ <span id="gid-instance_method"></span>
938
+ <div class="method_details ">
939
+ <p class="signature " id="gid-instance_method">
940
+
941
+ - (<tt>Fixnum</tt>) <strong>gid</strong> <span class="extras">(readonly)</span>
942
+
943
+
944
+
945
+ </p><div class="docstring">
946
+ <div class="discussion">
947
+ <p>Returns a unique identifier for this news</p>
948
+
949
+
950
+ </div>
951
+ </div>
952
+ <div class="tags">
953
+
954
+ <h3>Returns:</h3>
955
+ <ul class="return">
956
+
957
+ <li>
958
+
959
+
960
+ <span class='type'>(<tt>Fixnum</tt>)</span>
961
+
962
+
963
+
964
+ &mdash;
965
+ <div class='inline'><p>A unique identifier for this news</p>
966
+ </div>
967
+
968
+ </li>
969
+
970
+ </ul>
971
+
972
+ </div><table class="source_code">
973
+ <tr>
974
+ <td>
975
+ <pre class="lines">
976
+
977
+
978
+ 55
979
+ 56
980
+ 57</pre>
981
+ </td>
982
+ <td>
983
+ <pre class="code"><span class="info file"># File 'lib/steam/community/app_news.rb', line 55</span>
984
+
985
+ <span class='rubyid_def def kw'>def</span> <span class='rubyid_gid identifier id'>gid</span>
986
+ <span class='rubyid_@gid ivar id'>@gid</span>
987
+ <span class='rubyid_end end kw'>end</span>
988
+ </pre>
989
+ </td>
990
+ </tr>
991
+ </table>
992
+ </div>
993
+
994
+
995
+ <span id=""></span>
996
+ <span id="title-instance_method"></span>
997
+ <div class="method_details ">
998
+ <p class="signature " id="title-instance_method">
999
+
1000
+ - (<tt>String</tt>) <strong>title</strong> <span class="extras">(readonly)</span>
1001
+
1002
+
1003
+
1004
+ </p><div class="docstring">
1005
+ <div class="discussion">
1006
+ <p>Returns the title of this news</p>
1007
+
1008
+
1009
+ </div>
1010
+ </div>
1011
+ <div class="tags">
1012
+
1013
+ <h3>Returns:</h3>
1014
+ <ul class="return">
1015
+
1016
+ <li>
1017
+
1018
+
1019
+ <span class='type'>(<tt>String</tt>)</span>
1020
+
1021
+
1022
+
1023
+ &mdash;
1024
+ <div class='inline'><p>The title of this news</p>
1025
+ </div>
1026
+
1027
+ </li>
1028
+
1029
+ </ul>
1030
+
1031
+ </div><table class="source_code">
1032
+ <tr>
1033
+ <td>
1034
+ <pre class="lines">
1035
+
1036
+
1037
+ 60
1038
+ 61
1039
+ 62</pre>
1040
+ </td>
1041
+ <td>
1042
+ <pre class="code"><span class="info file"># File 'lib/steam/community/app_news.rb', line 60</span>
1043
+
1044
+ <span class='rubyid_def def kw'>def</span> <span class='rubyid_title identifier id'>title</span>
1045
+ <span class='rubyid_@title ivar id'>@title</span>
1046
+ <span class='rubyid_end end kw'>end</span>
1047
+ </pre>
1048
+ </td>
1049
+ </tr>
1050
+ </table>
1051
+ </div>
1052
+
1053
+
1054
+ <span id=""></span>
1055
+ <span id="url-instance_method"></span>
1056
+ <div class="method_details ">
1057
+ <p class="signature " id="url-instance_method">
1058
+
1059
+ - (<tt>String</tt>) <strong>url</strong> <span class="extras">(readonly)</span>
1060
+
1061
+
1062
+
1063
+ </p><div class="docstring">
1064
+ <div class="discussion">
1065
+ <p>Returns the URL of the original news</p>
1066
+
1067
+ <p>This is a direct link to the news on the Steam website or a redirecting
1068
+ link to the external post.</p>
1069
+
1070
+
1071
+ </div>
1072
+ </div>
1073
+ <div class="tags">
1074
+
1075
+ <h3>Returns:</h3>
1076
+ <ul class="return">
1077
+
1078
+ <li>
1079
+
1080
+
1081
+ <span class='type'>(<tt>String</tt>)</span>
1082
+
1083
+
1084
+
1085
+ &mdash;
1086
+ <div class='inline'><p>The URL of the original news</p>
1087
+ </div>
1088
+
1089
+ </li>
1090
+
1091
+ </ul>
1092
+
1093
+ </div><table class="source_code">
1094
+ <tr>
1095
+ <td>
1096
+ <pre class="lines">
1097
+
1098
+
1099
+ 68
1100
+ 69
1101
+ 70</pre>
1102
+ </td>
1103
+ <td>
1104
+ <pre class="code"><span class="info file"># File 'lib/steam/community/app_news.rb', line 68</span>
1105
+
1106
+ <span class='rubyid_def def kw'>def</span> <span class='rubyid_url identifier id'>url</span>
1107
+ <span class='rubyid_@url ivar id'>@url</span>
1108
+ <span class='rubyid_end end kw'>end</span>
1109
+ </pre>
1110
+ </td>
1111
+ </tr>
1112
+ </table>
1113
+ </div>
1114
+
1115
+ </div>
1116
+
1117
+
1118
+ <div id="class_method_details" class="method_details_list">
1119
+ <h2>Class Method Details</h2>
1120
+
1121
+
1122
+ <div class="method_details first">
1123
+ <p class="signature first" id="news_for_app-class_method">
1124
+
1125
+ + (<tt>Array&lt;<span class='object_link'><a href="" title="SteamCondenser::AppNews (class)">AppNews</a></span>&gt;</tt>) <strong>news_for_app</strong>(app_id, count = 5, max_length = nil)
1126
+
1127
+
1128
+
1129
+ </p><div class="docstring">
1130
+ <div class="discussion">
1131
+ <p>Loads the news for the given game with the given restrictions</p>
1132
+
1133
+
1134
+ </div>
1135
+ </div>
1136
+ <div class="tags">
1137
+ <h3>Parameters:</h3>
1138
+ <ul class="param">
1139
+
1140
+ <li>
1141
+
1142
+ <span class='name'>app_id</span>
1143
+
1144
+
1145
+ <span class='type'>(<tt>Fixnum</tt>)</span>
1146
+
1147
+
1148
+
1149
+ &mdash;
1150
+ <div class='inline'><p>The unique Steam Application ID of the game (e.g.
1151
+ <code>440</code> for Team Fortress 2). See
1152
+ <a href="http://developer.valvesoftware.com/wiki/Steam_Application_IDs">http://developer.valvesoftware.com/wiki/Steam_Application_IDs</a> for
1153
+ all application IDs.</p>
1154
+ </div>
1155
+
1156
+ </li>
1157
+
1158
+ <li>
1159
+
1160
+ <span class='name'>count</span>
1161
+
1162
+
1163
+ <span class='type'>(<tt>Fixnum</tt>)</span>
1164
+
1165
+
1166
+ <em class="default">(defaults to: <tt>5</tt>)</em>
1167
+
1168
+
1169
+ &mdash;
1170
+ <div class='inline'><p>The maximum number of news to load. There&#39;s no
1171
+ reliable way to load all news. Use a really great number instead.</p>
1172
+ </div>
1173
+
1174
+ </li>
1175
+
1176
+ <li>
1177
+
1178
+ <span class='name'>max_length</span>
1179
+
1180
+
1181
+ <span class='type'>(<tt>Fixnum</tt>)</span>
1182
+
1183
+
1184
+ <em class="default">(defaults to: <tt>nil</tt>)</em>
1185
+
1186
+
1187
+ &mdash;
1188
+ <div class='inline'><p>The maximum content length of the news. If a
1189
+ maximum length is defined, the content of the news will only be at
1190
+ most <code>max_length</code> characters long plus an ellipsis.</p>
1191
+ </div>
1192
+
1193
+ </li>
1194
+
1195
+ </ul>
1196
+
1197
+ <h3>Returns:</h3>
1198
+ <ul class="return">
1199
+
1200
+ <li>
1201
+
1202
+
1203
+ <span class='type'>(<tt>Array&lt;<span class='object_link'><a href="" title="SteamCondenser::AppNews (class)">AppNews</a></span>&gt;</tt>)</span>
1204
+
1205
+
1206
+
1207
+ &mdash;
1208
+ <div class='inline'><p>An array of news items for the specified game
1209
+ with the given options</p>
1210
+ </div>
1211
+
1212
+ </li>
1213
+
1214
+ </ul>
1215
+
1216
+ </div><table class="source_code">
1217
+ <tr>
1218
+ <td>
1219
+ <pre class="lines">
1220
+
1221
+
1222
+ 83
1223
+ 84
1224
+ 85
1225
+ 86
1226
+ 87
1227
+ 88
1228
+ 89
1229
+ 90
1230
+ 91
1231
+ 92
1232
+ 93</pre>
1233
+ </td>
1234
+ <td>
1235
+ <pre class="code"><span class="info file"># File 'lib/steam/community/app_news.rb', line 83</span>
1236
+
1237
+ <span class='rubyid_def def kw'>def</span> <span class='rubyid_self self kw'>self</span><span class='dot token'>.</span><span class='rubyid_news_for_app identifier id'>news_for_app</span><span class='lparen token'>(</span><span class='rubyid_app_id identifier id'>app_id</span><span class='comma token'>,</span> <span class='rubyid_count identifier id'>count</span> <span class='assign token'>=</span> <span class='integer val'>5</span><span class='comma token'>,</span> <span class='rubyid_max_length identifier id'>max_length</span> <span class='assign token'>=</span> <span class='rubyid_nil nil kw'>nil</span><span class='rparen token'>)</span>
1238
+ <span class='rubyid_params identifier id'>params</span> <span class='assign token'>=</span> <span class='lbrace token'>{</span> <span class='symbol val'>:appid</span> <span class='assign token'>=</span><span class='gt op'>&gt;</span> <span class='rubyid_app_id identifier id'>app_id</span><span class='comma token'>,</span> <span class='symbol val'>:count</span> <span class='assign token'>=</span><span class='gt op'>&gt;</span> <span class='rubyid_count identifier id'>count</span><span class='comma token'>,</span> <span class='symbol val'>:maxlength</span> <span class='assign token'>=</span><span class='gt op'>&gt;</span> <span class='rubyid_max_length identifier id'>max_length</span> <span class='rbrace token'>}</span>
1239
+ <span class='rubyid_data identifier id'>data</span> <span class='assign token'>=</span> <span class='rubyid_WebApi constant id'>WebApi</span><span class='dot token'>.</span><span class='rubyid_json identifier id'>json</span><span class='lparen token'>(</span><span class='string val'>'ISteamNews'</span><span class='comma token'>,</span> <span class='string val'>'GetNewsForApp'</span><span class='comma token'>,</span> <span class='integer val'>2</span><span class='comma token'>,</span> <span class='rubyid_params identifier id'>params</span><span class='rparen token'>)</span>
1240
+
1241
+ <span class='rubyid_news_items identifier id'>news_items</span> <span class='assign token'>=</span> <span class='lbrack token'>[</span><span class='rbrack token'>]</span>
1242
+ <span class='rubyid_MultiJson constant id'>MultiJson</span><span class='dot token'>.</span><span class='rubyid_load identifier id'>load</span><span class='lparen token'>(</span><span class='rubyid_data identifier id'>data</span><span class='comma token'>,</span> <span class='lbrace token'>{</span> <span class='symbol val'>:symbolize_keys</span> <span class='assign token'>=</span><span class='gt op'>&gt;</span> <span class='rubyid_true true kw'>true</span> <span class='rbrace token'>}</span><span class='rparen token'>)</span><span class='lbrack token'>[</span><span class='symbol val'>:appnews</span><span class='rbrack token'>]</span><span class='lbrack token'>[</span><span class='symbol val'>:newsitems</span><span class='rbrack token'>]</span><span class='dot token'>.</span><span class='rubyid_each identifier id'>each</span> <span class='rubyid_do do kw'>do</span> <span class='bitor op'>|</span><span class='rubyid_news_data identifier id'>news_data</span><span class='bitor op'>|</span>
1243
+ <span class='rubyid_news_items identifier id'>news_items</span> <span class='lshft op'>&lt;&lt;</span> <span class='rubyid_AppNews constant id'>AppNews</span><span class='dot token'>.</span><span class='rubyid_new identifier id'>new</span><span class='lparen token'>(</span><span class='rubyid_app_id identifier id'>app_id</span><span class='comma token'>,</span> <span class='rubyid_news_data identifier id'>news_data</span><span class='rparen token'>)</span>
1244
+ <span class='rubyid_end end kw'>end</span>
1245
+
1246
+ <span class='rubyid_news_items identifier id'>news_items</span>
1247
+ <span class='rubyid_end end kw'>end</span>
1248
+ </pre>
1249
+ </td>
1250
+ </tr>
1251
+ </table>
1252
+ </div>
1253
+
1254
+ </div>
1255
+
1256
+ <div id="instance_method_details" class="method_details_list">
1257
+ <h2>Instance Method Details</h2>
1258
+
1259
+
1260
+ <div class="method_details first">
1261
+ <p class="signature first" id="external?-instance_method">
1262
+
1263
+ - (<tt>Boolean</tt>) <strong>external?</strong>
1264
+
1265
+
1266
+
1267
+ </p><div class="docstring">
1268
+ <div class="discussion">
1269
+ <p>Returns whether this news item originates from a source other than Steam
1270
+ itself (e.g. an external blog)</p>
1271
+
1272
+
1273
+ </div>
1274
+ </div>
1275
+ <div class="tags">
1276
+
1277
+ <h3>Returns:</h3>
1278
+ <ul class="return">
1279
+
1280
+ <li>
1281
+
1282
+
1283
+ <span class='type'>(<tt>Boolean</tt>)</span>
1284
+
1285
+
1286
+
1287
+ &mdash;
1288
+ <div class='inline'><p><code>true</code> if this news item is from an external source</p>
1289
+ </div>
1290
+
1291
+ </li>
1292
+
1293
+ </ul>
1294
+
1295
+ </div><table class="source_code">
1296
+ <tr>
1297
+ <td>
1298
+ <pre class="lines">
1299
+
1300
+
1301
+ 99
1302
+ 100
1303
+ 101</pre>
1304
+ </td>
1305
+ <td>
1306
+ <pre class="code"><span class="info file"># File 'lib/steam/community/app_news.rb', line 99</span>
1307
+
1308
+ <span class='rubyid_def def kw'>def</span> <span class='rubyid_external? fid id'>external?</span>
1309
+ <span class='rubyid_@external ivar id'>@external</span>
1310
+ <span class='rubyid_end end kw'>end</span>
1311
+ </pre>
1312
+ </td>
1313
+ </tr>
1314
+ </table>
1315
+ </div>
1316
+
1317
+ <div class="method_details ">
1318
+ <p class="signature " id="to_s-instance_method">
1319
+
1320
+ - (<tt>String</tt>) <strong>to_s</strong>
1321
+
1322
+
1323
+
1324
+ </p><div class="docstring">
1325
+ <div class="discussion">
1326
+ <p>Returns a simple textual representation of this news item</p>
1327
+
1328
+ <p>Will consist of the name of the feed this news belongs to and the title
1329
+ of the news.</p>
1330
+
1331
+
1332
+ </div>
1333
+ </div>
1334
+ <div class="tags">
1335
+
1336
+ <h3>Returns:</h3>
1337
+ <ul class="return">
1338
+
1339
+ <li>
1340
+
1341
+
1342
+ <span class='type'>(<tt>String</tt>)</span>
1343
+
1344
+
1345
+
1346
+ &mdash;
1347
+ <div class='inline'><p>A simple text representing this news</p>
1348
+ </div>
1349
+
1350
+ </li>
1351
+
1352
+ </ul>
1353
+
1354
+ </div><table class="source_code">
1355
+ <tr>
1356
+ <td>
1357
+ <pre class="lines">
1358
+
1359
+
1360
+ 109
1361
+ 110
1362
+ 111</pre>
1363
+ </td>
1364
+ <td>
1365
+ <pre class="code"><span class="info file"># File 'lib/steam/community/app_news.rb', line 109</span>
1366
+
1367
+ <span class='rubyid_def def kw'>def</span> <span class='rubyid_to_s identifier id'>to_s</span>
1368
+ <span class='string val'>&quot;#@feed_label: #@title&quot;</span>
1369
+ <span class='rubyid_end end kw'>end</span>
1370
+ </pre>
1371
+ </td>
1372
+ </tr>
1373
+ </table>
1374
+ </div>
1375
+
1376
+ </div>
1377
+
1378
+ </div>
1379
+
1380
+ <div id="footer">
1381
+ Generated on Mon Apr 30 07:02:53 2012 by
1382
+ <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
1383
+ 0.7.5 (ruby-1.8.7).
1384
+ </div>
1385
+
1386
+ </body>
1387
+ </html>