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



9
10
11
# File 'bridgetown-core/lib/bridgetown-core/configuration.rb', line 9

def block
  @block
end

#completedObject

Returns the value of attribute completed

Returns:

  • (Object)

    the current value of completed



9
10
11
# File 'bridgetown-core/lib/bridgetown-core/configuration.rb', line 9

def completed
  @completed
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



9
10
11
# File 'bridgetown-core/lib/bridgetown-core/configuration.rb', line 9

def name
  @name
end

Instance Method Details

#to_sObject



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

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