Sha256: 45083065e0a8029c46b437f68972a51263a4248d98989275b8da5f34fa7032b4
Contents?: true
Size: 527 Bytes
Versions: 15
Compression:
Stored size: 527 Bytes
Contents
# frozen_string_literal: true module Dynflow module Flows class Atom < Abstract attr_reader :step_id def encode step_id end def initialize(step_id) @step_id = Type! step_id, Integer end def size 1 end def all_step_ids [step_id] end def flatten! # nothing to do end protected def self.new_from_hash(hash) check_class_matching hash new(hash[:step_id]) end end end end
Version data entries
15 entries across 15 versions & 1 rubygems