bdz 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/lib/bdz/train.rb +1 -1
  2. data/lib/bdz/version.rb +1 -1
  3. metadata +1 -1
data/lib/bdz/train.rb CHANGED
@@ -17,7 +17,7 @@ module Bdz
17
17
  def as_json
18
18
  hash = {}
19
19
  self.instance_variables.each do |var|
20
- hash[var] = self.instance_variable_get var
20
+ hash[var.gsub("@", "")] = self.instance_variable_get var
21
21
  end
22
22
  hash.to_json
23
23
  end
data/lib/bdz/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Bdz
2
- VERSION = "0.0.4"
2
+ VERSION = "0.0.5"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bdz
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: