elvarg 0.0.6 → 0.0.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3118f2f2f8a4592ebe5e1bbd48e54165fc4119344dd395fb05f4418f924a685f
4
- data.tar.gz: 3b24d648e84bf24139b8667ea5f024b2f2079f355ae6763ad3e131b801a024d9
3
+ metadata.gz: 920aa0f27b24660146ba4847ce33976ce2d03ac6dd153791a98c78964053f471
4
+ data.tar.gz: 2c3c1a4ab8ff241ced853da44e3daffe1541a1caa46e3fed19d68f6d3d53dc88
5
5
  SHA512:
6
- metadata.gz: 38cb35cd448c88b6adef48f938abb9668cc3aa383cef6cc3b6eb508003edb02b84ef024ddd862d48f9456b1ad740acb9a8e02accc462975b7a136b6a4c004042
7
- data.tar.gz: d3f00779a83fe02ab7f428bc50af1a4a7806bbc14a183eb2b9bb979d3c71a99eca54b37c7fb1afac0afc4d27f0669749bb4c531e513c779a56ca8ff9eb28ebc7
6
+ metadata.gz: ab9bf0cdb8cdc83f1dbd3b4df0d0be24735b00f67d557eb5d22eb40afadd58c2c0a68316aff804b12b77aefb3a884e395fdbcd4532642e97b69dd3818437c3e7
7
+ data.tar.gz: 12309a4c49b83f480eabf428fd8a6d61eb9eb33bfc688ee1d4043b32d2330e30ba4851c69bc1ee0da0cc45d666b222c0d7c728dc4f0b0bf5f78f8a78972819a6
@@ -8,13 +8,26 @@ module Elvarg #:nodoc:
8
8
  # Represents a Player on the Hiscores
9
9
  class Player
10
10
  include Elvarg::Stats
11
- # The Player's username
11
+ # [String] The Player's username
12
+ #
13
+ # @example A player named "ruby"
14
+ # player = Elvarg::Hiscores::Player.new 'ruby'
15
+ # player.username #=> "ruby"
12
16
  attr_reader :username
13
- # The Hiscore's mode.
17
+ # [Symbol] The Hiscore's mode.
14
18
  # This can be :default, :ironman, :ultimate, etc.
19
+ #
15
20
  # @see Hiscores::MODES for complete list
16
21
  attr_reader :mode
17
- # A Hash of all Stats available in OldSchool Runescape's Hiscores
22
+ # [Hash] All Stats available in OldSchool Runescape's Hiscores
23
+ #
24
+ # @example Information on a Player's overall skill
25
+ # player = Elvarg::Hiscores::Player.new 'example'
26
+ # player.skills #=> { ... } a Hash will all the skills' data
27
+ # player.skills[:overall] #=> Overall skill
28
+ #
29
+ # @see Elvarg::Stats::SKILLS Complete list of skills
30
+ # @see Elvarg::Hiscores::Skill
18
31
  attr_reader :skills
19
32
 
20
33
  ##
@@ -5,11 +5,11 @@ module Elvarg #:nodoc:
5
5
  ##
6
6
  # Represents a Skill on the Hiscores
7
7
  class Skill < Stats::Skill
8
- # The rank of the Skill the Player has on the Hiscores
8
+ # [Integer] The rank of the Skill the Player has on the Hiscores
9
9
  attr_reader :rank
10
- # The level of the Skill the Player has on the Hiscores
10
+ # [Integer] The level of the Skill the Player has on the Hiscores
11
11
  attr_reader :level
12
- # The experience of the Skill the Player has on the Hiscores
12
+ # [Integer] The experience of the Skill the Player has on the Hiscores
13
13
  attr_reader :exp
14
14
 
15
15
  ##
@@ -5,14 +5,14 @@ module Elvarg #:nodoc:
5
5
  ##
6
6
  # Represents a Skill in OldSchool RuneScape
7
7
  class Skill
8
- # The link to the `.gif` of the related Skill
8
+ # [String] The link to the `.gif` of the related Skill
9
9
  attr_reader :icon
10
- # The unique id of this Skill
10
+ # [Integer] The unique id of this Skill
11
11
  attr_reader :id
12
- # The human readable name of this Skill
12
+ # [String] The human readable name of this Skill
13
13
  attr_reader :name
14
14
  ##
15
- # The symbol of this Skill
15
+ # [Symbol] The symbol of this Skill
16
16
  # @see Elvarg::Stats::SKILLS for list of symbols
17
17
  attr_reader :symbol
18
18
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: elvarg
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Marcello A. Sabino