Sha256: 97b3092dc889a31cf32d569b22e43a3a727fe3c52314eda23da1aa86ea76a15c

Contents?: true

Size: 132 Bytes

Versions: 5

Compression:

Stored size: 132 Bytes

Contents

class Object  
  def eval_with_options(*args, &blk)
    with_options *args do |map|
      map.instance_eval(&blk)
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
freighthopper-0.1.14 lib/freighthopper/eval_with_options.rb
freighthopper-0.1.13 lib/freighthopper/eval_with_options.rb
freighthopper-0.1.12 lib/freighthopper/eval_with_options.rb
freighthopper-0.1.11 lib/freighthopper/eval_with_options.rb
freighthopper-0.1.9 lib/freighthopper/eval_with_options.rb