samples/helloworld/hello_world.rb in rubikon-0.5.0 vs samples/helloworld/hello_world.rb in rubikon-0.5.1
- old
+ new
@@ -13,19 +13,14 @@
end
# A relatively simple Hello World application using Rubikon
class HelloWorld < Rubikon::Application::Base
- set :config_file, 'helloworld.ini'
- set :config_format, :ini
-
# Greet the whole world per default
flag :more
option :name, [:who]
option :names, -1
default 'Simple hello world' do
- p config
-
debug 'Starting to greet the world...'
if given? :name
greet parameters[:name].who
elsif given? :names
names.args.each do |name|