Module: Initable

Defined in:
lib/initable.rb,
lib/initable/builder.rb

Overview

Main namespace.

Defined Under Namespace

Classes: Builder

Constant Summary collapse

METHOD_SCOPES =
%i[public protected private].freeze

Class Method Summary collapse

Class Method Details

.[]Object



9
# File 'lib/initable.rb', line 9

def self.[](*) = Builder.new(*)

.protectedObject



11
# File 'lib/initable.rb', line 11

def self.protected(*) = Builder.new(*, scope: __method__)

.publicObject



13
# File 'lib/initable.rb', line 13

def self.public(*) = Builder.new(*, scope: __method__)