Class: Xberg::RakeParams

Inherits:
Object
  • Object
show all
Defined in:
sig/types.rbs

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeRakeParams

Returns a new instance of RakeParams.

Parameters:

  • min_word_length: (Integer)
  • max_words_per_phrase: (Integer)


1895
# File 'sig/types.rbs', line 1895

def initialize: (?min_word_length: Integer, ?max_words_per_phrase: Integer) -> void

Instance Attribute Details

#max_words_per_phraseInteger?

Returns the value of attribute max_words_per_phrase.

Returns:

  • (Integer, nil)


1893
1894
1895
# File 'sig/types.rbs', line 1893

def max_words_per_phrase
  @max_words_per_phrase
end

#min_word_lengthInteger?

Returns the value of attribute min_word_length.

Returns:

  • (Integer, nil)


1892
1893
1894
# File 'sig/types.rbs', line 1892

def min_word_length
  @min_word_length
end

Class Method Details

.defaultRakeParams

Returns:



1896
# File 'sig/types.rbs', line 1896

def self.default: () -> RakeParams