Sha256: a7dab2eb78421f56f4561e6b1f08cf38a8bf76eb65bea4a81ea2a4dffd99313e
Contents?: true
Size: 481 Bytes
Versions: 8
Compression:
Stored size: 481 Bytes
Contents
module Tnql #:nodoc: all module Nodes module StageDetailNode def meta_data_item case text_value when 'unstaged' { 'staging.stage' => { Tnql::EQUALS => nil } } when 'valid stage' { 'staging.stage' => { Tnql::BEGINS => %w(1 2 3 4) } } else stage_values = stages.elements.map(&:text_value).map(&:upcase) { 'staging.stage' => { Tnql::BEGINS => stage_values } } end end end end end
Version data entries
8 entries across 8 versions & 1 rubygems