Class: Spoom::Sorbet::Translate::RBSCommentsToSorbetSigs::HumanReadableRBIFormat
- Inherits:
-
BaseRBIFormat
- Object
- BaseRBIFormat
- Spoom::Sorbet::Translate::RBSCommentsToSorbetSigs::HumanReadableRBIFormat
- Defined in:
- lib/spoom/sorbet/translate/rbs_comments_to_sorbet_sigs/options.rb
Class Attribute Summary collapse
- .default ⇒ Object readonly
Instance Attribute Summary collapse
- #max_line_length ⇒ Object readonly
Instance Method Summary collapse
-
#initialize(max_line_length: nil) ⇒ HumanReadableRBIFormat
constructor
A new instance of HumanReadableRBIFormat.
Constructor Details
#initialize(max_line_length: nil) ⇒ HumanReadableRBIFormat
Returns a new instance of HumanReadableRBIFormat.
19 20 21 22 23 24 |
# File 'lib/spoom/sorbet/translate/rbs_comments_to_sorbet_sigs/options.rb', line 19 def initialize(max_line_length: nil) super() @max_line_length = max_line_length freeze end |
Class Attribute Details
.default ⇒ Object (readonly)
29 30 31 |
# File 'lib/spoom/sorbet/translate/rbs_comments_to_sorbet_sigs/options.rb', line 29 def default @default end |
Instance Attribute Details
#max_line_length ⇒ Object (readonly)
14 15 16 |
# File 'lib/spoom/sorbet/translate/rbs_comments_to_sorbet_sigs/options.rb', line 14 def max_line_length @max_line_length end |