class WarpEngine::PlatformLink
A link shown with every software of a platform (table platform_links), e.g. where to get the emulator. Has a name, a url, a platform and a position (scope ordered). Soft-deletable.
Constants
- SUPPORTED_PLATFORMS
-
The built-in platforms (
WarpEngine::Platform::BUILTIN).
Public Class Methods
Source
# File app/models/warp_engine/platform_link.rb, line 20 def self.for_platform(platform) kept.ordered.where(platform: platform).to_a end
Returns the kept links of platform in position order, as an Array.