class ObjectifiedEnvironments::Base

Attributes

host_name[R]
rails_env[R]
user_name[R]

Public Class Methods

new(environment_properties) click to toggle source
# File lib/objectified_environments/base.rb, line 3
def initialize(environment_properties)
  @rails_env = environment_properties[:rails_env]
  @user_name = environment_properties[:user_name]
  @host_name = environment_properties[:host_name]
end

Private Instance Methods

must_implement() click to toggle source
# File lib/objectified_environments/base.rb, line 12
def must_implement
  raise "You must override this method in #{self.class.name} or a superclass."
end