Sha256: 5e080782f074ba5c2e3e59bb1322797e762ae28dfde9425849bff1af6513d119

Contents?: true

Size: 230 Bytes

Versions: 1

Compression:

Stored size: 230 Bytes

Contents

require_relative "error"

module Marmerdo
  class Relationship
    # @return [String]
    attr_accessor :str

    def initialize(str)
      @str = str
    end

    def to_mermaid_str(from)
      "#{from} #{str}"
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
marmerdo-0.3.1 lib/marmerdo/relationship.rb