Sha256: 78692d90134b7ddc5c1973ea6b728d279140b03a06183635cc19799f32bbdf2f

Contents?: true

Size: 379 Bytes

Versions: 1

Compression:

Stored size: 379 Bytes

Contents

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

Settings :passenger => 'einstein', :dest_time => '1955-11-05', 'delorean.power_source' => :plutonium
Settings.finally do |c|
  p [self, 'finally', c[:passenger], c.passenger]
  # Einstein the dog should only be sent one minute into the future.
  dest_time = (Time.now + 60) if c.passenger == 'einstein'
end
Settings.resolve!
p Settings

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
configliere-0.0.3 examples/config_block.rb