Sha256: 701d322d8ff5b8d933cf71d7e56b743c6b9c9b357f23def5bbe84ca1838fddc0
Contents?: true
Size: 304 Bytes
Versions: 1
Compression:
Stored size: 304 Bytes
Contents
module Hexx # A message to be returned by use_case class Message attr_reader :type, :text def initialize(type:, text:) @type, @text = type.to_s, text.to_s end def type=(value) @type = value.to_s end def text=(value) @text = value.to_s end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
hexx-0.1.1 | lib/hexx/message.rb |