Module: Cleanroom::InstanceMethods

Defined in:
lib/cleanroom.rb

Overview

Instance Methods

Instance Method Summary collapse

Instance Method Details

#evaluate(*args, &block) ⇒ self

Evaluate the contents against the current instance.

Returns:

  • (self)


183
184
185
186
# File 'lib/cleanroom.rb', line 183

def evaluate(*args, &block)
  self.class.evaluate(self, *args, &block)
  self
end

#evaluate_file(filepath) ⇒ self

Evaluate the file against the current instance.

Returns:

  • (self)


172
173
174
175
# File 'lib/cleanroom.rb', line 172

def evaluate_file(filepath)
  self.class.evaluate_file(self, filepath)
  self
end