Module: Skemata

Extended by:
ActiveSupport::Autoload
Defined in:
lib/skemata.rb,
lib/skemata/dsl.rb,
lib/skemata/node.rb,
lib/skemata/version.rb

Defined Under Namespace

Classes: DSL, Node

Constant Summary collapse

VERSION =
'0.0.1'

Class Method Summary collapse

Class Method Details

.draw(type, root_object, &block) ⇒ Object



13
14
15
# File 'lib/skemata.rb', line 13

def self.draw(type, root_object, &block)
  DSL.draw({ type: type, root_object: root_object }, &block)
end