test/fixtures/examples/echo_inputs.rb in sprout-1.1.3.pre vs test/fixtures/examples/echo_inputs.rb in sprout-1.1.4.pre
- old
+ new
@@ -12,9 +12,13 @@
#
# echo-inputs --truthy
#
add_param :truthy, Boolean
+ add_param :long_truthy, Boolean
+
+ add_param :default_truthy, Boolean, { :default => true }
+
##
# A boolean parameter that defaults to true, and must be
# explicitly set to false in order to turn it off.
#
# echo-inputs --falsey=false