Sha256: 9079333428b97bf34151c6fb3512311dcfc39b7043cf4e31bc069efd7fcffdf1
Contents?: true
Size: 345 Bytes
Versions: 4
Compression:
Stored size: 345 Bytes
Contents
module HumanPower module Rails class RobotsController < ::ApplicationController def robots generator = HumanPower::Generator.new(self) do file = ::Rails.root.join("config", "robots.rb").to_s instance_eval open(file).read, file end render text: generator.render end end end end
Version data entries
4 entries across 4 versions & 1 rubygems