Sha256: 7d31c7674a7362050c65acd7e25d4a0c1395ef1438a455bb195e3fcd4c54dac2

Contents?: true

Size: 282 Bytes

Versions: 1

Compression:

Stored size: 282 Bytes

Contents

# frozen_string_literal: true

Shoes.app do
  para "Hit Alt + / to open the shoes console and see different message!"

  flow do
    %w[info debug warn error].each do |type|
      button type.to_s do
        public_send type, "This is a #{type} message"
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
shoes-4.0.0.rc1 samples/simple_console.rb