Class: Lono::Code

Inherits:
Command show all
Defined in:
lib/lono/code.rb

Instance Method Summary collapse

Methods inherited from Command

alter_command_description, command_help, dispatch, exit_on_failure?, website

Instance Method Details

#convert(source) ⇒ Object



18
19
20
# File 'lib/lono/code.rb', line 18

def convert(source)
  Importer::Converter.new(options.merge(source: source)).run
end

#import(source) ⇒ Object



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

def import(source)
  Importer.new(options.merge(source: source)).run
end