Module: Glyph
- Included in:
- Curses::Geometry
- Defined in:
- lib/curses/geometry/glyph.rb
Instance Method Summary collapse
Instance Method Details
#draw_glyph(glyph, x = nil, y = nil) ⇒ Object
2 3 4 5 |
# File 'lib/curses/geometry/glyph.rb', line 2 def draw_glyph(glyph, x=nil, y=nil) setpos(y, x) unless x.nil? || y.nil? addch(glyph) end |