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.
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.
172 173 174 175 |
# File 'lib/cleanroom.rb', line 172 def evaluate_file(filepath) self.class.evaluate_file(self, filepath) self end |