Module: Glia

Defined in:
lib/glia.rb,
lib/glia/cell.rb,
lib/glia/errors.rb,
lib/glia/layout.rb,
lib/glia/version.rb,
lib/glia/view_factory.rb,
lib/glia/update_builder.rb,
lib/glia/update_registry.rb

Defined Under Namespace

Modules: Cell, Errors Classes: Layout, UpdateBuilder, UpdateRegistry, ViewFactory

Constant Summary collapse

VERSION =
"0.1.4"

Class Method Summary collapse

Class Method Details

.area(code, theme = :default, &blk) ⇒ Object

Your code goes here…



11
12
13
# File 'lib/glia.rb', line 11

def self.area(code, theme = :default, &blk)
  UpdateRegistry.area(code, theme, &blk)
end

.layout(area, handles, options = {}) ⇒ Object



15
16
17
# File 'lib/glia.rb', line 15

def self.layout(area, handles, options = {})
  Layout.new(area, handles, options)
end