carbon 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/carbon/emitter.rb +5 -5
  2. metadata +2 -2
@@ -9,11 +9,11 @@ module Carbon
9
9
  target.extend Carbon::Emitter::ClassMethods
10
10
  end
11
11
 
12
- def emissions
13
- return @emissions unless @emissions.nil?
14
- @emissions = Carbon::EmissionsCalculation.new(self.class.emitter_options, self)
15
- @emissions.calculate!
16
- @emissions
12
+ def emission
13
+ return @emission unless @emission.nil?
14
+ @emission = Carbon::EmissionsCalculation.new(self.class.emitter_options, self)
15
+ @emission.calculate!
16
+ @emission
17
17
  end
18
18
  end
19
19
  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
  - Derek Kastner