enum

ActionController::MCPServer::Transport::Era

Inherits Enum < Comparable < Value < Object

2026-07-28 onwards is modern, earlier versions start with initialize

Constants

Legacy = 0
Modern = 1

Instance methods

legacy?

Returns true if this enum value equals Legacy

Source
modern?

Returns true if this enum value equals Modern

Source