Module: Zena::Status

Defined in:
lib/zena/status.rb

Constant Summary collapse

Red =

Redaction (initial state of an element)

70
PropWith =

Proposed along with another node (images/documents in the node)

65
Prop =

Proposed for publication

60
Pub =

Published

50
Rep =

Replaced (a new publication takes over)

20
Rem =

Removed (unpublished by hand)

10
Del =

Deleted (not used)

0

Class Method Summary collapse

Class Method Details

.[](key) ⇒ Object



18
19
20
# File 'lib/zena/status.rb', line 18

def self.[](key)
  self.const_get(key.to_s.camelize)
end