-
Notifications
You must be signed in to change notification settings - Fork 3
/
README
30 lines (19 loc) · 912 Bytes
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
== EVE Killmail Parser
This is a Rails plugin to manage parsing the EVE Killmail format used in the online MMORPG EVE Online.
=== Example
km = Eve::Killmail::Parser.new(mail_to_parse_as_string)
km.victim.name # => 'Ix Forres'
km.attackers.each do |attacker|
attacker.name # => 'Attacker 1'
end
km.destroyed.each do |item|
item.name # => 'Item lost 1'
end
=== Installing
Install to a Rails application using the following command (Rails 2.0.2 and greater)
ruby script/plugin install git://github.com/JamesHarrison/eve_killmail_parser.git
If you are using an older Rails version, use
git clone git://github.com/JamesHarrison/eve_killmail_parser.git vendor/plugins/eve_killmail_parser
=== Documentation
Once installed, you can generate documentation using rdoc (cd vendor/plugins/eve_killmail_parser;rake rdoc).
Copyright (c) 2008 James Harrison, released under the MIT license