Sha256: 7f13ded24658764ffec059ef4be2eb254bd36866ce6d7037aa5e90665a654e77

Contents?: true

Size: 177 Bytes

Versions: 29

Compression:

Stored size: 177 Bytes

Contents

class Lono::Configset
  module EvaluateFile
    def evaluate_file(path)
      return unless path && File.exist?(path)
      instance_eval(IO.read(path), path)
    end
  end
end

Version data entries

29 entries across 29 versions & 1 rubygems

Version Path
lono-7.5.2 lib/lono/configset/evaluate_file.rb
lono-7.5.1 lib/lono/configset/evaluate_file.rb
lono-7.5.0 lib/lono/configset/evaluate_file.rb
lono-7.4.11 lib/lono/configset/evaluate_file.rb
lono-7.4.10 lib/lono/configset/evaluate_file.rb
lono-7.4.9 lib/lono/configset/evaluate_file.rb
lono-7.4.8 lib/lono/configset/evaluate_file.rb
lono-7.4.7 lib/lono/configset/evaluate_file.rb
lono-7.4.6 lib/lono/configset/evaluate_file.rb
lono-7.4.5 lib/lono/configset/evaluate_file.rb
lono-7.4.4 lib/lono/configset/evaluate_file.rb
lono-7.4.3 lib/lono/configset/evaluate_file.rb
lono-7.4.2 lib/lono/configset/evaluate_file.rb
lono-7.4.1 lib/lono/configset/evaluate_file.rb
lono-7.4.0 lib/lono/configset/evaluate_file.rb
lono-7.3.2 lib/lono/configset/evaluate_file.rb
lono-7.3.1 lib/lono/configset/evaluate_file.rb
lono-7.3.0 lib/lono/configset/evaluate_file.rb
lono-7.2.3 lib/lono/configset/evaluate_file.rb
lono-7.2.2 lib/lono/configset/evaluate_file.rb