Sha256: a13cd5d7bd5b2c5fbecd28c0c1b0752a137e39ed0c113f65845f4182aaef5715
Contents?: true
Size: 279 Bytes
Versions: 2
Compression:
Stored size: 279 Bytes
Contents
module Robotnik module DslEval def evaluate &block @previous_self = eval 'self', block.binding instance_eval &block self end def method_missing method, *args, &block @previous_self.send method, *args, &block end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
dsl_eval-0.0.2 | lib/dsl_eval.rb |
dsl_eval-0.0.1 | lib/dsl_eval.rb |