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.9.8 lib/minke/generators/register.rb
minke-1.9.7 lib/minke/generators/register.rb
minke-1.9.6 lib/minke/generators/register.rb
minke-1.9.5 lib/minke/generators/register.rb
minke-1.9.4 lib/minke/generators/register.rb
minke-1.9.3 lib/minke/generators/register.rb
minke-1.9.2 lib/minke/generators/register.rb
minke-1.9.1 lib/minke/generators/register.rb
minke-1.9.0 lib/minke/generators/register.rb
minke-1.8.3 lib/minke/generators/register.rb
minke-1.8.2 lib/minke/generators/register.rb
minke-1.8.1 lib/minke/generators/register.rb
minke-1.8.0 lib/minke/generators/register.rb
minke-1.6.1 lib/minke/generators/register.rb
minke-1.6.0 lib/minke/generators/register.rb
minke-1.5.9 lib/minke/generators/register.rb
minke-1.5.8 lib/minke/generators/register.rb
minke-1.5.7 lib/minke/generators/register.rb
minke-1.5.6 lib/minke/generators/register.rb
minke-1.5.5 lib/minke/generators/register.rb