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



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

def block
  @block
end

#completedObject

Returns the value of attribute completed

Returns:

  • (Object)

    the current value of completed



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

def completed
  @completed
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



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

def name
  @name
end

Instance Method Details

#to_sObject



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

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