Class: Flutterby::Exporter

Inherits:
Object
  • Object
show all
Defined in:
lib/flutterby/exporter.rb

Instance Method Summary collapse

Constructor Details

#initialize(root) ⇒ Exporter

Returns a new instance of Exporter.



3
4
5
# File 'lib/flutterby/exporter.rb', line 3

def initialize(root)
  @root = root
end

Instance Method Details

#export!(into:) ⇒ Object



7
8
9
# File 'lib/flutterby/exporter.rb', line 7

def export!(into:)
  export_node(@root, into: into)
end