lib/strada.rb in strada-0.0.1 vs lib/strada.rb in strada-0.0.2

- old
+ new

@@ -4,14 +4,14 @@ require_relative "strada/adapter/yaml" require_relative "strada/adapter/json" require_relative "strada/adapter/toml" require "fileutils" -class Strada < StandardError; end +class StradaError < StandardError; end -class NoName < ConfigError; end +class NoName < StradaError; end -class UnknownOption < ConfigError; end +class UnknownOption < StradaError; end # @example common use case # CFGS = Strada.new :name=>'my_sweet_program' :load=>false # do not load config from filesystem # CFGS.default.ssh.port = 22 # CFGS.default.ssh.hosts = %w(host1.example.com host2.example.com)