lib/poolparty/provision/boot_strapper.rb
def method_missing(m,*a,&block)
        if self.class.defaults.has_key?(m) 
          self.class.defaults[m]
        elsif @cloud
          @cloud.send m, *a, &block
        else
          super
        end
      end
# In case the method is being called on ourself, let's check the 
# defaults hash to see if it's available there
In case the method is being called on ourself, let's check the
defaults hash to see if it's available there
In case the method is being called on ourself let ' s check the defaults hash to see if it ' s available there
def method_missing(m,*a,&block)
        if self.class.defaults.has_key?(m) 
          self.class.defaults[m]
        elsif @cloud
          @cloud.send m, *a, &block
        else
          super
        end
      end
def method_missing ( m , * a , & block ) if self . class . defaults . has_key? ( m ) self . class . defaults [ m ] elsif @cloud @cloud . send m , * a , & block else super end end
In case the method is being called on ourself, let's check the
defaults hash to see if it's available there
In case the method is being called on ourself let ' s check the defaults hash to see if it ' s available there
m
a
block