Sha256: 17e4fe8ad164cbad9cef9952c0491879a3f123df018bc30559370c87afd36641
Contents?: true
Size: 303 Bytes
Versions: 1
Compression:
Stored size: 303 Bytes
Contents
module Scarpe class Stack 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: column' 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/stack.rb |