Sha256: 580a86cee1d1906b5f85cae5f387f9703808def1eb62deeee3be9098d08bc976

Contents?: true

Size: 294 Bytes

Versions: 27

Compression:

Stored size: 294 Bytes

Contents

require 'parlour'

module FooBar
  class Plugin < Parlour::Plugin
    def generate(root)
      root.create_module('Foo') do |foo|
        foo.add_comment('This is an example plugin!')
        foo.create_module('Bar')
        foo.create_module('Bar', interface: true)
      end
    end
  end
end

Version data entries

27 entries across 27 versions & 1 rubygems

Version Path
parlour-9.0.0 plugin_examples/foobar_plugin.rb
parlour-8.1.0 plugin_examples/foobar_plugin.rb
parlour-8.0.0 plugin_examples/foobar_plugin.rb
parlour-7.0.0 plugin_examples/foobar_plugin.rb
parlour-6.0.1 plugin_examples/foobar_plugin.rb
parlour-6.0.0 plugin_examples/foobar_plugin.rb
parlour-5.0.0 plugin_examples/foobar_plugin.rb
parlour-5.0.0.beta.6 plugin_examples/foobar_plugin.rb
parlour-5.0.0.beta.5 plugin_examples/foobar_plugin.rb
parlour-5.0.0.beta.4 plugin_examples/foobar_plugin.rb
parlour-5.0.0.beta.3 plugin_examples/foobar_plugin.rb
parlour-5.0.0.beta.2 plugin_examples/foobar_plugin.rb
parlour-5.0.0.beta.1 plugin_examples/foobar_plugin.rb
parlour-4.0.1 plugin_examples/foobar_plugin.rb
parlour-4.0.0 plugin_examples/foobar_plugin.rb
parlour-3.0.0 plugin_examples/foobar_plugin.rb
parlour-2.1.0 plugin_examples/foobar_plugin.rb
parlour-2.0.0 plugin_examples/foobar_plugin.rb
parlour-1.0.0 plugin_examples/foobar_plugin.rb
parlour-0.8.1 plugin_examples/foobar_plugin.rb