Module: Cleanroom::InstanceMethods
- Defined in:
- lib/cleanroom.rb
Overview
Instance Methods
Instance Method Summary collapse
-
#evaluate(*args, &block) ⇒ self
Evaluate the contents against the current instance.
-
#evaluate_file(filepath) ⇒ self
Evaluate the file against the current instance.
Instance Method Details
#evaluate(*args, &block) ⇒ self
Evaluate the contents against the current instance.
184 185 186 187 |
# File 'lib/cleanroom.rb', line 184 def evaluate(*args, &block) self.class.evaluate(self, *args, &block) self end |
#evaluate_file(filepath) ⇒ self
Evaluate the file against the current instance.
173 174 175 176 |
# File 'lib/cleanroom.rb', line 173 def evaluate_file(filepath) self.class.evaluate_file(self, filepath) self end |