Class: Openra::Struct::Client
- Inherits:
-
Openra::Struct
- Object
- Dry::Struct
- Openra::Struct
- Openra::Struct::Client
- Defined in:
- lib/openra/struct/client.rb
Constant Summary
Constants inherited from Openra::Struct
Instance Method Summary collapse
Methods inherited from Openra::Struct
define, inherited, new, preprocessor
Instance Method Details
#team ⇒ Object
26 27 28 |
# File 'lib/openra/struct/client.rb', line 26 def team attributes[:team] == '0' ? nil : attributes[:team] end |