Sha256: 8c0b29a00abc9d69b796cc54d663df63ea4744ac8d77dfba4917932d6153b2da

Contents?: true

Size: 175 Bytes

Versions: 3

Compression:

Stored size: 175 Bytes

Contents

module LovelyRufus
  Wrap = Struct.new :text, :width do
    class << self
      undef []
      def [] text = '', width: 72
        new text, width
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
lovely_rufus-0.1.2 lib/lovely_rufus/wrap.rb
lovely_rufus-0.1.1 lib/lovely_rufus/wrap.rb
lovely_rufus-0.1.0 lib/lovely_rufus/wrap.rb