class Dedalus::Layer

layer is an abstract element… maybe should also pull out rows and columns? could cleanup traversal impl, and will be clearer ultimately

Attributes

elements[RW]

Public Class Methods

new(elements, freeform: false) click to toggle source
# File lib/dedalus/elements.rb, line 106
def initialize(elements, freeform: false)
  @elements = elements
  @freeform = freeform
end

Public Instance Methods

freeform?() click to toggle source
# File lib/dedalus/elements.rb, line 115
def freeform?
  @freeform == true
end
show() click to toggle source
# File lib/dedalus/elements.rb, line 111
def show
  @elements
end