Class: Qonfig::Commands::Base Private

Inherits:
Object
  • Object
show all
Defined in:
lib/qonfig/commands/base.rb

Overview

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

Since:

  • 0.1.0

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.inheritable=(identifier) ⇒ Boolean

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Parameters:

  • identifier (Boolean)

Returns:

  • (Boolean)

Since:

  • 0.19.0



12
13
14
# File 'lib/qonfig/commands/base.rb', line 12

def inheritable=(identifier)
  @inheritable = identifier
end

.inheritable?Boolean

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns:

  • (Boolean)

Since:

  • 0.19.0



20
21
22
# File 'lib/qonfig/commands/base.rb', line 20

def inheritable?
  @inheritable
end

.inherited(child_klass) ⇒ Boolean

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Parameters:

  • child_klass (Class)

Returns:

  • (Boolean)

Since:

  • 0.19.0



29
30
31
32
# File 'lib/qonfig/commands/base.rb', line 29

def inherited(child_klass)
  child_klass.instance_variable_set(:@inheritable, true)
  super
end

Instance Method Details

#call(data_set, settings) ⇒ void

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

This method returns an undefined value.

Parameters:

Since:

  • 0.1.0



41
# File 'lib/qonfig/commands/base.rb', line 41

def call(data_set, settings); end

#inheritable?Boolean

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns:

  • (Boolean)

Since:

  • 0.19.0



47
48
49
# File 'lib/qonfig/commands/base.rb', line 47

def inheritable?
  self.class.inheritable?
end