Sha256: 6e68aeefe01c23081486f663aa7686286bf7af865aa6662dbb698e42964d678e
Contents?: true
Size: 245 Bytes
Versions: 1
Compression:
Stored size: 245 Bytes
Contents
# frozen_string_literal: true require 'forwardable' module LovelyRufus Wrap = Struct.new(:text, :width) do extend Forwardable def initialize(text = '', width: 72) super text, width end delegate lines: :text end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
lovely_rufus-1.0.1 | lib/lovely_rufus/wrap.rb |