Class: Bridgetown::Configuration::Initializer

Inherits:
Struct
  • Object
show all
Defined in:
bridgetown-core/lib/bridgetown-core/configuration.rb

Overview

rubocop:disable Style/MutableConstant

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#blockObject

Returns the value of attribute block

Returns:

  • (Object)

    the current value of block



11
12
13
# File 'bridgetown-core/lib/bridgetown-core/configuration.rb', line 11

def block
  @block
end

#completedObject

Returns the value of attribute completed

Returns:

  • (Object)

    the current value of completed



11
12
13
# File 'bridgetown-core/lib/bridgetown-core/configuration.rb', line 11

def completed
  @completed
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



11
12
13
# File 'bridgetown-core/lib/bridgetown-core/configuration.rb', line 11

def name
  @name
end

Instance Method Details

#to_sObject



12
13
14
# File 'bridgetown-core/lib/bridgetown-core/configuration.rb', line 12

def to_s
  "#{name} (Initializer)"
end