Module: Yattho::Status::Dsl

Extended by:
ActiveSupport::Concern
Included in:
Component
Defined in:
app/lib/yattho/status/dsl.rb

Overview

DSL to allow components to register their status.

Example:

class MyComponent < ViewComponent::Base

include Yattho::Status::Dsl
status :beta

end

Defined Under Namespace

Classes: UnknownStatusError

Constant Summary collapse

STATUSES =
{
  alpha: :alpha,
  beta: :beta,
  stable: :stable,
  deprecated: :deprecated,
  experimental: :experimental
}.freeze