Module: RETerm::Layouts
- Defined in:
- lib/reterm/layouts.rb,
lib/reterm/layouts/grid.rb,
lib/reterm/layouts/vertical.rb,
lib/reterm/layouts/horizontal.rb
Overview
Encapsulates all Layouts currently implemented
Defined Under Namespace
Classes: Grid, Horizontal, Vertical
Class Method Summary collapse
Class Method Details
.all ⇒ Object
4 5 6 |
# File 'lib/reterm/layouts.rb', line 4 def self.all @a ||= Layouts.constants end |
.names ⇒ Object
8 9 10 |
# File 'lib/reterm/layouts.rb', line 8 def self.names @n ||= all.collect { |l| l.to_s } end |