Method: Levels::Input::Ruby#read

Defined in:
lib/levels/input/ruby.rb

#read(level) ⇒ Object



12
13
14
15
16
# File 'lib/levels/input/ruby.rb', line 12

def read(level)
  dsl = DSL.new(level)
  dsl.instance_eval(@ruby_string, @file, @line)
  dsl.close_current_group
end