Class: QuakeliveApi::Items::Weapon
- Inherits:
-
Struct
- Object
- Struct
- QuakeliveApi::Items::Weapon
- Includes:
- Structurable
- Defined in:
- lib/quakelive_api/items/weapon.rb
Instance Attribute Summary collapse
-
#accuracy ⇒ Object
Returns the value of attribute accuracy.
-
#frags ⇒ Object
Returns the value of attribute frags.
-
#hits ⇒ Object
Returns the value of attribute hits.
-
#name ⇒ Object
Returns the value of attribute name.
-
#shots ⇒ Object
Returns the value of attribute shots.
-
#usage ⇒ Object
Returns the value of attribute usage.
Method Summary
Methods included from Structurable
Instance Attribute Details
#accuracy ⇒ Object
Returns the value of attribute accuracy
3 4 5 |
# File 'lib/quakelive_api/items/weapon.rb', line 3 def accuracy @accuracy end |
#frags ⇒ Object
Returns the value of attribute frags
3 4 5 |
# File 'lib/quakelive_api/items/weapon.rb', line 3 def frags @frags end |
#hits ⇒ Object
Returns the value of attribute hits
3 4 5 |
# File 'lib/quakelive_api/items/weapon.rb', line 3 def hits @hits end |
#name ⇒ Object
Returns the value of attribute name
3 4 5 |
# File 'lib/quakelive_api/items/weapon.rb', line 3 def name @name end |
#shots ⇒ Object
Returns the value of attribute shots
3 4 5 |
# File 'lib/quakelive_api/items/weapon.rb', line 3 def shots @shots end |
#usage ⇒ Object
Returns the value of attribute usage
3 4 5 |
# File 'lib/quakelive_api/items/weapon.rb', line 3 def usage @usage end |