Sha256: 6e4bb56831a60150259029e4756129a76c25d3a69e9affa9027699fbd07cf2d2
Contents?: true
Size: 475 Bytes
Versions: 5
Compression:
Stored size: 475 Bytes
Contents
module CukeModeler # @api private # # A mix-in module containing methods used by models that represent an element that has a name. Internal helper class. module Named # @api # # The name of the element attr_accessor :name private def name_output_string name.nil? || name.empty? ? '' : " #{name}" end def populate_name(parsed_model_data) @name = parsed_model_data['name'] end end end
Version data entries
5 entries across 5 versions & 1 rubygems