lib/hanzo/modules/install.rb in hanzo-0.4.2 vs lib/hanzo/modules/install.rb in hanzo-0.4.3
- old
+ new
@@ -11,10 +11,10 @@
def initialize_variables
@type = extract_argument(1)
end
def initialize_cli
- initialize_help and return if @type.nil?
+ initialize_help && return if @type.nil?
method = "install_#{@type}"
if self.respond_to?(method)
send(method)