Module: Heroku::Command::Stack::Codex

Defined in:
lib/heroku/command/stack.rb

Constant Summary collapse

IN =

Legacy translations for cedar => cedar-10 only here for UX purposes to avoid confusion when we say `Sunsetting cedar`.

{
  "cedar-10" => "cedar"
}
OUT =
{
  "cedar" => "cedar-10"
}

Class Method Summary collapse

Class Method Details

.in(stack) ⇒ Object


52
53
54
# File 'lib/heroku/command/stack.rb', line 52

def self.in(stack)
  IN[stack] || stack
end

.out(stack) ⇒ Object


56
57
58
# File 'lib/heroku/command/stack.rb', line 56

def self.out(stack)
  OUT[stack] || stack
end