Module: Bridgetown::Commands::Registrations

Defined in:
bridgetown-core/lib/bridgetown-core/commands/registrations.rb

Class Method Summary collapse

Class Method Details

.register(&block) ⇒ Object



10
11
12
# File 'bridgetown-core/lib/bridgetown-core/commands/registrations.rb', line 10

def self.register(&block)
  registrations << block
end

.registrationsObject



6
7
8
# File 'bridgetown-core/lib/bridgetown-core/commands/registrations.rb', line 6

def self.registrations
  @registrations ||= []
end