Sha256: a8fdacf9a93fd8a57ce38ffb53b1a620969db0b10603287ad8b244c6f1bcb591

Contents?: true

Size: 292 Bytes

Versions: 7

Compression:

Stored size: 292 Bytes

Contents

require 'shears'


module Flannel
  class CuttingBoard
    def initialize params={}
      @wiki_link= params[:wiki_link]
    end

    def cut markup
      shears = Flannel::Shears.new
      squares = shears.cut markup
      squares.map { |square| square.to_h }.join("\n\n")
    end
  end
end

Version data entries

7 entries across 7 versions & 2 rubygems

Version Path
rubyyot-flannel-0.0.1 lib/cutting_board.rb
flannel-0.1.4 lib/flannel/cutting_board.rb
flannel-0.1.3 lib/cutting_board.rb
flannel-0.1.2 lib/cutting_board.rb
flannel-0.1.1 lib/cutting_board.rb
flannel-0.1.0 lib/cutting_board.rb
flannel-0.0.1 lib/cutting_board.rb