Sha256: 295318fbc6fa02c6fd6fb597947097ed71bef02a6a90196a023683b7345e13f8

Contents?: true

Size: 356 Bytes

Versions: 58

Compression:

Stored size: 356 Bytes

Contents

module Minke
  module Generators
    @@registrations = []

    def register config
      puts "registered #{config.name}"

      @@registrations.push(config)
      #puts "registered #{config.template_location}"
    end

    def get_registrations
      @@registrations
    end

    module_function :register
    module_function :get_registrations
  end
end

Version data entries

58 entries across 58 versions & 1 rubygems

Version Path
minke-1.12.9 lib/minke/generators/register.rb
minke-1.12.8 lib/minke/generators/register.rb
minke-1.12.7 lib/minke/generators/register.rb
minke-1.12.5 lib/minke/generators/register.rb
minke-1.12.4 lib/minke/generators/register.rb
minke-1.12.3 lib/minke/generators/register.rb
minke-1.12.2 lib/minke/generators/register.rb
minke-1.12.0 lib/minke/generators/register.rb
minke-1.11.9 lib/minke/generators/register.rb
minke-1.11.8 lib/minke/generators/register.rb
minke-1.11.7 lib/minke/generators/register.rb
minke-1.11.6 lib/minke/generators/register.rb
minke-1.11.5 lib/minke/generators/register.rb
minke-1.11.4 lib/minke/generators/register.rb
minke-1.11.3 lib/minke/generators/register.rb
minke-1.11.2 lib/minke/generators/register.rb
minke-1.11.1 lib/minke/generators/register.rb
minke-1.11.0 lib/minke/generators/register.rb
minke-1.10.0 lib/minke/generators/register.rb
minke-1.9.9 lib/minke/generators/register.rb