Class: BombDefuser::GameList
- Inherits:
-
Object
- Object
- BombDefuser::GameList
- Extended by:
- ResourceList
- Defined in:
- lib/bomb_defuser/game_list.rb
Class Attribute Summary collapse
-
.platforms ⇒ Object
Returns the value of attribute platforms.
Class Method Summary collapse
Methods included from ResourceList
Class Attribute Details
.platforms ⇒ Object
Returns the value of attribute platforms.
9 10 11 |
# File 'lib/bomb_defuser/game_list.rb', line 9 def platforms @platforms end |
Class Method Details
.include_additional_parameters ⇒ Object
12 13 14 15 |
# File 'lib/bomb_defuser/game_list.rb', line 12 def self.include_additional_parameters self.platforms ||= [] params[:platforms] = platforms.join(",") unless platforms.empty? end |