Method: NattyUI::Features#hr
- Defined in:
- lib/natty-ui/features.rb
#hr(type = :default) ⇒ Features
Print a horizontal rule.
304 305 306 307 308 |
# File 'lib/natty-ui/features.rb', line 304 def hr(type = :default) theme = Theme.current bc = theme.border(type)[10] puts("#{theme.heading_sytle}#{bc * columns}") end |