Class: RcovStatsRelated::ErbBinding
- Inherits:
-
Object
- Object
- RcovStatsRelated::ErbBinding
- Defined in:
- lib/rcov_stats_related/erb_binding.rb
Instance Method Summary collapse
- #get_binding ⇒ Object
-
#initialize(options) ⇒ ErbBinding
constructor
A new instance of ErbBinding.
Constructor Details
#initialize(options) ⇒ ErbBinding
Returns a new instance of ErbBinding.
4 5 6 7 8 |
# File 'lib/rcov_stats_related/erb_binding.rb', line 4 def initialize( ) .each_pair do |key, value| instance_variable_set(:"@#{key}",value) end end |
Instance Method Details
#get_binding ⇒ Object
10 11 12 |
# File 'lib/rcov_stats_related/erb_binding.rb', line 10 def get_binding binding end |