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)


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

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)


1802
1803
1804
# File 'sig/types.rbs', line 1802

def max_words_per_phrase
  @max_words_per_phrase
end

#min_word_lengthInteger?

Returns the value of attribute min_word_length.

Returns:

  • (Integer, nil)


1801
1802
1803
# File 'sig/types.rbs', line 1801

def min_word_length
  @min_word_length
end

Class Method Details

.defaultRakeParams

Returns:



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

def self.default: () -> RakeParams