Sha256: 6aced193fc07f3f47dad498a566ae1cb6a5c96095821ecead31f73fc35cd609b
Contents?: true
Size: 507 Bytes
Versions: 6
Compression:
Stored size: 507 Bytes
Contents
module CukeModeler # NOT A PART OF THE PUBLIC API # A mix-in module containing methods used by models that represent an element that has steps. module Stepped # The step models contained by this model attr_accessor :steps private def steps_output_string steps.collect { |step| indented_step_text(step) }.join("\n") end def indented_step_text(step) step.to_s.split("\n").collect { |line| " #{line}" }.join("\n") end end end
Version data entries
6 entries across 6 versions & 1 rubygems