Class: Bridgetown::Configuration::Initializer

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

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



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

def block
  @block
end

#completedObject

Returns the value of attribute completed

Returns:

  • (Object)

    the current value of completed



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

def completed
  @completed
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



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

def name
  @name
end

Instance Method Details

#to_sObject



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

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