Class: Edge

Inherits:
Version show all
Defined in:
lib/ratatui_ruby/devtools/tasks/website/version.rb

Overview

The trunk branch version for unreleased changes.

Developers preview upcoming features before release. The edge version builds documentation from trunk.

Instance Method Summary collapse

Methods inherited from Version

all, #checkout, #latest?

Instance Method Details

#edge?Boolean

Identifies this as unreleased for “(dev)” labels in menus.

Returns:

  • (Boolean)


119
120
121
# File 'lib/ratatui_ruby/devtools/tasks/website/version.rb', line 119

def edge?
  true
end

#nameObject

Appears in version menus as-is, without version numbering.



104
105
106
# File 'lib/ratatui_ruby/devtools/tasks/website/version.rb', line 104

def name
  "trunk"
end

#refObject

Git branch name for archive extraction.



114
115
116
# File 'lib/ratatui_ruby/devtools/tasks/website/version.rb', line 114

def ref
  "origin/trunk"
end

#slugObject

Stable URL path for bookmarks. Trunk docs live at /trunk/.



99
100
101
# File 'lib/ratatui_ruby/devtools/tasks/website/version.rb', line 99

def slug
  "trunk"
end

#typeObject

Distinguishes unreleased docs from tagged releases in conditionals.



109
110
111
# File 'lib/ratatui_ruby/devtools/tasks/website/version.rb', line 109

def type
  :edge
end