class SDL::Exporters::Exporter
Attributes
options[R]
Public Class Methods
new(options = {})
click to toggle source
# File lib/sdl/exporters/exporter.rb, line 4 def initialize(options = {}) @options = options end
Public Instance Methods
export_to_file(path, content)
click to toggle source
# File lib/sdl/exporters/exporter.rb, line 8 def export_to_file(path, content) File.open(path, 'w') do |f| f.write(content) end end