module ArticleFixtureGen::Data::PmtpAttributes::Internals

Stateless methods.

Public Class Methods

build_item(text, id_number, end_str) click to toggle source
# File lib/article_fixture_gen/data/pmtp_attributes.rb, line 36
def self.build_item(text, id_number, end_str)
  id_string = "#{text}-#{id_number}-#{end_str}"
  Struct.new(:id_string).new(id_string).freeze
end