Method: Clamshell::CLI#convert_string
- Defined in:
- lib/clamshell/cli.rb
#convert_string(string) ⇒ Object
27 28 29 30 31 32 33 34 |
# File 'lib/clamshell/cli.rb', line 27 def convert_string(string) input = <<-I Environment.setup do #{string} end I puts instance_eval(input).inspect end |