Sha256: d80c112a879534415bdc620d755107115f6663c9c4f2d77b36ce5debddf7bf64
Contents?: true
Size: 574 Bytes
Versions: 1
Compression:
Stored size: 574 Bytes
Contents
# typed: true module Parlour class RbiGenerator class Options extend T::Sig sig { params(break_params: Integer, tab_size: Integer).void } def initialize(break_params:, tab_size:) @break_params = break_params @tab_size = tab_size end sig { returns(Integer) } attr_reader :break_params sig { returns(Integer) } attr_reader :tab_size sig { params(level: Integer, str: String).returns(String) } def indented(level, str) " " * (level * tab_size) + str end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
parlour-0.1.1 | lib/parlour/rbi_generator/options.rb |