rails--rails/railties/test/fixtures/lib/simple_builder.rb

7 lines
164 B
Ruby
Raw Normal View History

class AppBuilder
def configru
create_file "config.ru", <<-R.strip
run proc { |env| [200, { "Content-Type" => "text/html" }, ["Hello World"]] }
R
end
end