Class: RcovStatsRelated::ErbBinding

Inherits:
Object
  • Object
show all
Defined in:
lib/rcov_stats_related/erb_binding.rb

Instance Method Summary collapse

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( options )
  options.each_pair do |key, value|
    instance_variable_set(:"@#{key}",value)
  end
end

Instance Method Details

#get_bindingObject



10
11
12
# File 'lib/rcov_stats_related/erb_binding.rb', line 10

def get_binding
  binding
end