struct PowerlineGen::Separator
- PowerlineGen::Separator
- PowerlineGen::Fragment
- Struct
- Value
- Object
Defined in:
powerline-gen/fragments.crConstructors
Instance Method Summary
- #clone
- #copy_with(pointy _pointy = @pointy, spacing _spacing = @spacing, spacing_color _spacing_color = @spacing_color, force_direction _force_direction = @force_direction, opposite_direction _opposite_direction = @opposite_direction)
- #force_direction : Direction | Nil
- #opposite_direction : Bool
- #pointy : Bool
- #render(io, direction, bg_color, label_spacing, prev_frag, next_frag)
- #spacing : Bool
- #spacing_color : Symbol | Nil
Instance methods inherited from struct PowerlineGen::Fragment
initialize
initialize,
render(io : IO, direction : Direction, bg_color : Symbol, label_spacing : String, prev_frag : Fragment | Nil, next_frag : Fragment | Nil)
render
Constructor methods inherited from struct PowerlineGen::Fragment
new
new
Constructor Detail
def self.new(pointy : Bool = true, spacing : Bool = false, spacing_color : Symbol | Nil = nil, force_direction : Direction | Nil = nil, opposite_direction : Bool = false)
#
Instance Method Detail
def copy_with(pointy _pointy = @pointy, spacing _spacing = @spacing, spacing_color _spacing_color = @spacing_color, force_direction _force_direction = @force_direction, opposite_direction _opposite_direction = @opposite_direction)
#