Sha256: e17b961b8f479436f443dd984715f2ad794d3059ff5ea52fdc6a19ccb0b894ca
Contents?: true
Size: 523 Bytes
Versions: 76
Compression:
Stored size: 523 Bytes
Contents
module Dynflow module Flows class Atom < Abstract attr_reader :step_id def to_hash super.merge(:step_id => 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
76 entries across 76 versions & 1 rubygems