Class: Menkar::Indent
- Inherits:
-
Object
- Object
- Menkar::Indent
- Defined in:
- sig/menkar.rbs
Instance Attribute Summary collapse
-
#style ⇒ :tab, :space
readonly
Returns the value of attribute style.
-
#width ⇒ Integer?
readonly
Returns the value of attribute width.
Class Method Summary collapse
Instance Method Summary collapse
Instance Attribute Details
#style ⇒ :tab, :space (readonly)
Returns the value of attribute style.
10 11 12 |
# File 'sig/menkar.rbs', line 10 def style @style end |
#width ⇒ Integer? (readonly)
Returns the value of attribute width.
11 12 13 |
# File 'sig/menkar.rbs', line 11 def width @width end |
Class Method Details
Instance Method Details
#with ⇒ Indent
14 |
# File 'sig/menkar.rbs', line 14
def with: (?style: :tab | :space, ?width: Integer?) -> Indent
|