Project

General

Profile

Actions

Bug #3152

closed

Extend Configuration#module_enabled? to accept string as argument

Added by Marek Hulán over 10 years ago. Updated over 10 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

It should accept modules names directly so people can ask from installer easily.

  def module_enabled?(mod)
    value = @data[mod.name]
    !!value || value.is_a?(Hash)
  end
Actions #1

Updated by Marek Hulán over 10 years ago

Also KafoConfigure#params should be public, others may have a reason to read values.

Actions #2

Updated by Marek Hulán over 10 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF