Sha256: 9e66ab7eda6cf760978d52cfb4690ed5f96978cffce4038dc5536ab48fa56941

Contents?: true

Size: 246 Bytes

Versions: 4

Compression:

Stored size: 246 Bytes

Contents

#!/usr/bin/env ruby
require 'frank'

begin
  settings = YAML.load_file('settings.yml')
  Frank.new do
    settings.each do |name, value|
      set name.to_s, value
    end
  end
rescue Errno::ENOENT
  puts "Frank could not find settings.yml."
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
frank-0.1.3 bin/frankup
frank-0.1.2 bin/frankup
frank-0.1.1 bin/frankup
frank-0.1.0 bin/frankup