lib/taketo/constructs/server.rb in taketo-0.1.1 vs lib/taketo/constructs/server.rb in taketo-0.1.2
- old
+ new
@@ -22,9 +22,13 @@
def parent=(parent)
super
env(:RAILS_ENV => parent.name.to_s) if parent.is_a?(Environment)
end
+ def global_alias=(alias_name)
+ @global_alias = alias_name.to_s
+ end
+
def default_command
if defined? @default_command
find_command(@default_command) || Command.explicit_command(@default_command)
else
Command.default