Sha256: 99ba94ac9bb7ac6e418d4dbc21540027a99b48bbd42db23e878bd943325c08b9

Contents?: true

Size: 329 Bytes

Versions: 1

Compression:

Stored size: 329 Bytes

Contents

module Scarpe
    class Flow
      include Scarpe::Container
      
      attr_reader :app
      def initialize(app, &block)
        @app = app
        @app.append(render)
        append(&block)
      end
  
      def render
        "<div style='display: flex; flex-direction: row' id=#{object_id}></div>"
      end
    end
  end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
scarpe-0.1.0 lib/scarpe/flow.rb