yarb 0.0.3 → 0.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. data/lib/yarb.rb +1 -2
  2. metadata +3 -3
@@ -3,9 +3,8 @@ require 'yaml'
3
3
 
4
4
  module YARB
5
5
  def self.load(read_or_string, options = {:binding => TOPLEVEL_BINDING})
6
- pass_binding = options[:binding]
7
6
  read_or_string = (read_or_string.respond_to?(:read) ? read_or_string.read : read_or_string.to_s)
8
7
 
9
- YAML::load(ERB.new(read_or_string).result(pass_binding))
8
+ YAML::load(ERB.new(read_or_string).result(options[:binding]))
10
9
  end
11
10
  end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 0
8
- - 3
9
- version: 0.0.3
8
+ - 4
9
+ version: 0.0.4
10
10
  platform: ruby
11
11
  authors:
12
12
  - Matthew Vermaak
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2010-04-26 00:00:00 -04:00
17
+ date: 2010-04-27 00:00:00 -04:00
18
18
  default_executable:
19
19
  dependencies: []
20
20